diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-07-26 16:29:12 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-07-26 16:29:12 -0400 |
commit | cda60c3c409730aa2f4ad2f5cdd0311fc97d0ee4 (patch) | |
tree | 1d724d463cea5d2ad9cc3084949005b72f087734 /gtk/gtkrecentchooserdefault.c | |
parent | 3358c544da2cd079f5f565b5fec885a1e750f1f2 (diff) | |
download | gtk+-cda60c3c409730aa2f4ad2f5cdd0311fc97d0ee4.tar.gz |
Another round of template binding api changes
We rename the gtk_widget_class_bind_template_child{_internal}
macros by appending a _private to their name. Otherwise, it
would be too magic to pass the 'public' names as arguments,
but affect a member of the Private struct. At the same time,
Add two new macros with the old names,
gtk_widget_class_bind_template_child{_internal} that operate
on members of the instance struct.
Diffstat (limited to 'gtk/gtkrecentchooserdefault.c')
-rw-r--r-- | gtk/gtkrecentchooserdefault.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/gtkrecentchooserdefault.c b/gtk/gtkrecentchooserdefault.c index 30dd64004f..16dbb17cbe 100644 --- a/gtk/gtkrecentchooserdefault.c +++ b/gtk/gtkrecentchooserdefault.c @@ -348,15 +348,15 @@ _gtk_recent_chooser_default_class_init (GtkRecentChooserDefaultClass *klass) gtk_widget_class_set_template_from_resource (widget_class, "/org/gtk/libgtk/gtkrecentchooserdefault.ui"); - gtk_widget_class_bind_template_child (widget_class, GtkRecentChooserDefault, filter_combo_hbox); - gtk_widget_class_bind_template_child (widget_class, GtkRecentChooserDefault, filter_combo); - gtk_widget_class_bind_template_child (widget_class, GtkRecentChooserDefault, recent_view); - gtk_widget_class_bind_template_child (widget_class, GtkRecentChooserDefault, recent_store); - gtk_widget_class_bind_template_child (widget_class, GtkRecentChooserDefault, icon_column); - gtk_widget_class_bind_template_child (widget_class, GtkRecentChooserDefault, meta_column); - gtk_widget_class_bind_template_child (widget_class, GtkRecentChooserDefault, icon_renderer); - gtk_widget_class_bind_template_child (widget_class, GtkRecentChooserDefault, meta_renderer); - gtk_widget_class_bind_template_child (widget_class, GtkRecentChooserDefault, selection); + gtk_widget_class_bind_template_child_private (widget_class, GtkRecentChooserDefault, filter_combo_hbox); + gtk_widget_class_bind_template_child_private (widget_class, GtkRecentChooserDefault, filter_combo); + gtk_widget_class_bind_template_child_private (widget_class, GtkRecentChooserDefault, recent_view); + gtk_widget_class_bind_template_child_private (widget_class, GtkRecentChooserDefault, recent_store); + gtk_widget_class_bind_template_child_private (widget_class, GtkRecentChooserDefault, icon_column); + gtk_widget_class_bind_template_child_private (widget_class, GtkRecentChooserDefault, meta_column); + gtk_widget_class_bind_template_child_private (widget_class, GtkRecentChooserDefault, icon_renderer); + gtk_widget_class_bind_template_child_private (widget_class, GtkRecentChooserDefault, meta_renderer); + gtk_widget_class_bind_template_child_private (widget_class, GtkRecentChooserDefault, selection); gtk_widget_class_bind_template_callback (widget_class, selection_changed_cb); gtk_widget_class_bind_template_callback (widget_class, row_activated_cb); |