summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.c
diff options
context:
space:
mode:
authorEvan Nemerson <evan@nemerson.com>2014-05-26 09:24:00 -0700
committerEvan Nemerson <evan@nemerson.com>2014-05-27 21:10:32 -0700
commite568903360be156973c5767cda2f3248e722d507 (patch)
tree525398ae2cf266a82d4870975aca66ab399b9073 /gtk/gtkmain.c
parent2388c69f0ca8f6eb773267b582d6fdd88f3240cc (diff)
downloadgtk+-e568903360be156973c5767cda2f3248e722d507.tar.gz
gtk: fix many callback annotations to include closure information
Without this information introspection-based consumers don't realize they can include context information, but instead think that they receive an extra gpointer argument (which they don't know how to handle). https://bugzilla.gnome.org/show_bug.cgi?id=730745
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r--gtk/gtkmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 16a071241b..c1a6076de4 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -2197,7 +2197,7 @@ gtk_device_grab_remove (GtkWidget *widget,
/**
* gtk_key_snooper_install: (skip)
* @snooper: a #GtkKeySnoopFunc
- * @func_data: data to pass to @snooper
+ * @func_data: (closure): data to pass to @snooper
*
* Installs a key snooper function, which will get called on all
* key events before delivering them normally.