From 371e8c2c9934d1d4f3c31ea468e0080af9487452 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 6 Apr 2014 14:08:33 -0400 Subject: [PATCH] Added thanks comment (see previous commit). --- listbox_unix.go | 1 + 1 file changed, 1 insertion(+) diff --git a/listbox_unix.go b/listbox_unix.go index a0be9db..f8fc5fe 100644 --- a/listbox_unix.go +++ b/listbox_unix.go @@ -83,6 +83,7 @@ func gListboxNew(multisel bool) *C.GtkWidget { } C.gtk_tree_selection_set_mode(C.gtk_tree_view_get_selection(tv), C.GtkSelectionMode(sel)) scrollarea := C.gtk_scrolled_window_new((*C.GtkAdjustment)(nil), (*C.GtkAdjustment)(nil)) + // thanks to jlindgren in irc.gimp.net/#gtk+ C.gtk_scrolled_window_set_shadow_type((*C.GtkScrolledWindow)(unsafe.Pointer(scrollarea)), C.GTK_SHADOW_IN) C.gtk_container_add((*C.GtkContainer)(unsafe.Pointer(scrollarea)), widget) return scrollarea