diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-27 17:20:46 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-27 17:20:46 -0400 |
| commit | 7637193aff3281cba116f65f1fa54977757474b9 (patch) | |
| tree | 1957b52709a0ad41f7e86297606a0d5b67f15935 /area_unix.go | |
| parent | 45cd12cccfc4c86d14d944502fe412cde93ab77b (diff) | |
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.
Diffstat (limited to 'area_unix.go')
| -rw-r--r-- | area_unix.go | 2 |
1 files changed, 0 insertions, 2 deletions
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 { |
