summaryrefslogtreecommitdiff
path: root/gtk/gtkbuildable.h
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.h
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.h')
-rw-r--r--gtk/gtkbuildable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkbuildable.h b/gtk/gtkbuildable.h
index 911dfe32c7..ba899fa1f8 100644
--- a/gtk/gtkbuildable.h
+++ b/gtk/gtkbuildable.h
@@ -115,7 +115,7 @@ struct _GtkBuildableIface
GtkBuilder *builder,
GObject *child,
const gchar *tagname,
- gpointer *data);
+ gpointer data);
void (* custom_finished) (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
@@ -164,7 +164,7 @@ void gtk_buildable_custom_tag_end (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
const gchar *tagname,
- gpointer *data);
+ gpointer data);
GDK_AVAILABLE_IN_ALL
void gtk_buildable_custom_finished (GtkBuildable *buildable,
GtkBuilder *builder,