diff options
author | Alexander Larsson <alexl@redhat.com> | 2019-08-29 15:21:20 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-09-10 12:08:20 -0400 |
commit | 96b37f4eb8ec0e7598534a83816be7c013fd1c9b (patch) | |
tree | dfb83ab6a57766627dc82cfc12b8eadef7bfaa5e /gtk/gtkbuildable.h | |
parent | 135cea76fbe41cea7a83ebb3381bdc1410f8f9fb (diff) | |
download | gtk+-96b37f4eb8ec0e7598534a83816be7c013fd1c9b.tar.gz |
Use the new GtkBuildableParser type in GtkBuildable interfaces
Diffstat (limited to 'gtk/gtkbuildable.h')
-rw-r--r-- | gtk/gtkbuildable.h | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/gtk/gtkbuildable.h b/gtk/gtkbuildable.h index aec9c7b41a..fcb1390bef 100644 --- a/gtk/gtkbuildable.h +++ b/gtk/gtkbuildable.h @@ -126,42 +126,42 @@ struct _GtkBuildableIface GTypeInterface g_iface; /* virtual table */ - void (* set_name) (GtkBuildable *buildable, - const gchar *name); - const gchar * (* get_name) (GtkBuildable *buildable); - void (* add_child) (GtkBuildable *buildable, - GtkBuilder *builder, - GObject *child, - const gchar *type); - void (* set_buildable_property) (GtkBuildable *buildable, - GtkBuilder *builder, - const gchar *name, - const GValue *value); - GObject * (* construct_child) (GtkBuildable *buildable, - GtkBuilder *builder, - const gchar *name); - gboolean (* custom_tag_start) (GtkBuildable *buildable, - GtkBuilder *builder, - GObject *child, - const gchar *tagname, - GMarkupParser *parser, - gpointer *data); - void (* custom_tag_end) (GtkBuildable *buildable, - GtkBuilder *builder, - GObject *child, - const gchar *tagname, - gpointer data); - void (* custom_finished) (GtkBuildable *buildable, - GtkBuilder *builder, - GObject *child, - const gchar *tagname, - gpointer data); - void (* parser_finished) (GtkBuildable *buildable, - GtkBuilder *builder); - - GObject * (* get_internal_child) (GtkBuildable *buildable, - GtkBuilder *builder, - const gchar *childname); + void (* set_name) (GtkBuildable *buildable, + const gchar *name); + const gchar * (* get_name) (GtkBuildable *buildable); + void (* add_child) (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *type); + void (* set_buildable_property) (GtkBuildable *buildable, + GtkBuilder *builder, + const gchar *name, + const GValue *value); + GObject * (* construct_child) (GtkBuildable *buildable, + GtkBuilder *builder, + const gchar *name); + gboolean (* custom_tag_start) (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *tagname, + GtkBuildableParser *parser, + gpointer *data); + void (* custom_tag_end) (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *tagname, + gpointer data); + void (* custom_finished) (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *tagname, + gpointer data); + void (* parser_finished) (GtkBuildable *buildable, + GtkBuilder *builder); + + GObject * (* get_internal_child) (GtkBuildable *buildable, + GtkBuilder *builder, + const gchar *childname); }; @@ -192,7 +192,7 @@ gboolean gtk_buildable_custom_tag_start (GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *tagname, - GMarkupParser *parser, + GtkBuildableParser *parser, gpointer *data); GDK_AVAILABLE_IN_ALL void gtk_buildable_custom_tag_end (GtkBuildable *buildable, |