summaryrefslogtreecommitdiff
path: root/gtkcalls_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-16 16:23:49 -0500
committerPietro Gagliardi <[email protected]>2014-02-16 16:23:49 -0500
commitc40b7b5599236a8e85f7bf610bfaebd4a609da0a (patch)
treec449724ce99374be22ae5124d4c8e0a93cb7a52a /gtkcalls_unix.go
parent21c1ec6f83fb2d5cb80c02c0cd7ed51bb4e06e3a (diff)
Added basic signal connection. I'm going to need to build a different callback system, though...
Diffstat (limited to 'gtkcalls_unix.go')
-rw-r--r--gtkcalls_unix.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtkcalls_unix.go b/gtkcalls_unix.go
index d09fd61..f56e6fc 100644
--- a/gtkcalls_unix.go
+++ b/gtkcalls_unix.go
@@ -21,6 +21,10 @@ import "C"
type (
gtkWidget C.GtkWidget
+
+ // these are needed for signals
+ gdkEvent C.GdkEvent
+ gpointer C.gpointer
)
func fromgbool(b C.gboolean) bool {