summaryrefslogtreecommitdiff
path: root/gtk/gtktexttagtable.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/gtktexttagtable.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/gtktexttagtable.h')
-rw-r--r--gtk/gtktexttagtable.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtktexttagtable.h b/gtk/gtktexttagtable.h
index e853c40a42..333f834616 100644
--- a/gtk/gtktexttagtable.h
+++ b/gtk/gtktexttagtable.h
@@ -33,6 +33,11 @@
G_BEGIN_DECLS
+/**
+ * GtkTextTagTableForeach:
+ * @tag: the #GtkTextTag
+ * @data: (closure): data passed to gtk_text_tag_table_foreach()
+ */
typedef void (* GtkTextTagTableForeach) (GtkTextTag *tag, gpointer data);
#define GTK_TYPE_TEXT_TAG_TABLE (gtk_text_tag_table_get_type ())