summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.h
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.h
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.h')
-rw-r--r--gtk/gtkmain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h
index 11f2f7406d..8c3b17fcb4 100644
--- a/gtk/gtkmain.h
+++ b/gtk/gtkmain.h
@@ -54,7 +54,7 @@ G_BEGIN_DECLS
* GtkKeySnoopFunc:
* @grab_widget: the widget to which the event will be delivered
* @event: the key event
- * @func_data: data supplied to gtk_key_snooper_install()
+ * @func_data: (closure): data supplied to gtk_key_snooper_install()
*
* Key snooper functions are called before normal event delivery.
* They can be used to implement custom key event handling.