diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-19 22:32:38 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-19 22:32:38 -0400 |
| commit | a48dd80add7760e58b8e4e639183ec204ac699af (patch) | |
| tree | 18c61ee6c03dca1ab33fc7eecddaa0694c2710b7 /callbacks_unix.go | |
| parent | 4e820e86fca050a7f7b25449629573ca18c0080e (diff) | |
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.
Diffstat (limited to 'callbacks_unix.go')
| -rw-r--r-- | callbacks_unix.go | 1 |
1 files changed, 0 insertions, 1 deletions
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); |
