From 7637193aff3281cba116f65f1fa54977757474b9 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 27 Mar 2014 17:20:46 -0400 Subject: The latest go tip fixes cgo to not be confused by typedefs of incomplete types like cairo_t; remove the hack to make GTK+ builds work in the meantime. As a side effect, package ui now requires go tip to build; reflected this in the README. --- area_unix.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'area_unix.go') diff --git a/area_unix.go b/area_unix.go index 2c3a0dc..57f9b71 100644 --- a/area_unix.go +++ b/area_unix.go @@ -18,8 +18,6 @@ import ( // extern gboolean our_area_motion_notify_event_callback(GtkWidget *, GdkEvent *, gpointer); // extern gboolean our_area_key_press_event_callback(GtkWidget *, GdkEvent *, gpointer); // extern gboolean our_area_key_release_event_callback(GtkWidget *, GdkEvent *, gpointer); -// /* HACK - see https://code.google.com/p/go/issues/detail?id=7548 */ -// struct _cairo {}; import "C" func gtkAreaNew() *gtkWidget { -- cgit v1.2.3