summaryrefslogtreecommitdiff
path: root/gtk/gtkbuildable.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2018-10-08 11:34:43 +1300
committerRobert Ancell <robert.ancell@canonical.com>2018-10-08 11:38:20 +1300
commitdd69c4e0f211fa14f58dcbdf6f1eeaa6913afe83 (patch)
treeb9b11b530f10911d3beeb5fbc7fa46c464f6dd99 /gtk/gtkbuildable.c
parentcbb0d7ba69496ebe8b4b663d9a5572cf11622588 (diff)
downloadgtk+-dd69c4e0f211fa14f58dcbdf6f1eeaa6913afe83.tar.gz
GtkBuildable: Fix the type of the user_data in GtkBuildable.custom_tag_end
The previous type was a pointer to a pointer, which seems to be a copy-paste error from GtkBuildable.custom_tag_start which is an out parameter. It was always cast in use so this is an API break, but not an ABI one.
Diffstat (limited to 'gtk/gtkbuildable.c')
-rw-r--r--gtk/gtkbuildable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkbuildable.c b/gtk/gtkbuildable.c
index 0be820373a..cb699e5594 100644
--- a/gtk/gtkbuildable.c
+++ b/gtk/gtkbuildable.c
@@ -256,7 +256,7 @@ gtk_buildable_custom_tag_start (GtkBuildable *buildable,
* @builder: #GtkBuilder used to construct this object
* @child: (allow-none): child object or %NULL for non-child tags
* @tagname: name of tag
- * @data: (type gpointer): user data that will be passed in to parser functions
+ * @data: user data that will be passed in to parser functions
*
* This is called at the end of each custom element handled by
* the buildable.
@@ -266,7 +266,7 @@ gtk_buildable_custom_tag_end (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
const gchar *tagname,
- gpointer *data)
+ gpointer data)
{
GtkBuildableIface *iface;