From a48dd80add7760e58b8e4e639183ec204ac699af Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 19 May 2014 22:32:38 -0400 Subject: Removed the extra #cgo directives from the Unix files. cgo collects directives from ALL files, rather than using each file's directive individually, so having them combined like this is pointless. Instead, the #cgo directives are (or is, since there's only one) in uitask_unix.go. Will do the same for Mac next; this will help since we're going to add a CFLAGS value afterward. --- callbacks_unix.go | 1 - 1 file changed, 1 deletion(-) (limited to 'callbacks_unix.go') diff --git a/callbacks_unix.go b/callbacks_unix.go index 8fb52b5..f072cb2 100644 --- a/callbacks_unix.go +++ b/callbacks_unix.go @@ -14,7 +14,6 @@ cgo doesn't support calling Go functions by default; we have to mark them for ex while we're at it the callback for our idle function will be handled here too */ -// #cgo pkg-config: gtk+-3.0 // #include "gtk_unix.h" // extern gboolean our_window_delete_event_callback(GtkWidget *, GdkEvent *, gpointer); // extern gboolean our_window_configure_event_callback(GtkWidget *, GdkEvent *, gpointer); -- cgit v1.2.3