From e429b8d6b82f6caf9301e9917e96d7f823dd90bd Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 15 Mar 2014 14:27:18 -0400 Subject: Allowed GTK+ windows to be resized smaller than the size request of the controls within. --- gtkcasts_unix.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtkcasts_unix.go') diff --git a/gtkcasts_unix.go b/gtkcasts_unix.go index 09ba9ef..b459c46 100644 --- a/gtkcasts_unix.go +++ b/gtkcasts_unix.go @@ -61,12 +61,12 @@ func togtkcontainer(what *gtkWidget) *C.GtkContainer { return (*C.GtkContainer)(unsafe.Pointer(what)) } -func fromgtkfixed(x *C.GtkFixed) *gtkWidget { +func fromgtklayout(x *C.GtkLayout) *gtkWidget { return (*gtkWidget)(unsafe.Pointer(x)) } -func togtkfixed(what *gtkWidget) *C.GtkFixed { - return (*C.GtkFixed)(unsafe.Pointer(what)) +func togtklayout(what *gtkWidget) *C.GtkLayout { + return (*C.GtkLayout)(unsafe.Pointer(what)) } func fromgtkbutton(x *C.GtkButton) *gtkWidget { -- cgit v1.2.3