summaryrefslogtreecommitdiff
path: root/gtk/gtkappchooserwidget.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-07-26 16:29:12 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-07-26 16:29:12 -0400
commitcda60c3c409730aa2f4ad2f5cdd0311fc97d0ee4 (patch)
tree1d724d463cea5d2ad9cc3084949005b72f087734 /gtk/gtkappchooserwidget.c
parent3358c544da2cd079f5f565b5fec885a1e750f1f2 (diff)
downloadgtk+-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/gtkappchooserwidget.c')
-rw-r--r--gtk/gtkappchooserwidget.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkappchooserwidget.c b/gtk/gtkappchooserwidget.c
index db498f2e50..1db2d58da1 100644
--- a/gtk/gtkappchooserwidget.c
+++ b/gtk/gtkappchooserwidget.c
@@ -1086,11 +1086,11 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass)
widget_class = GTK_WIDGET_CLASS (klass);
gtk_widget_class_set_template_from_resource (widget_class,
"/org/gtk/libgtk/gtkappchooserwidget.ui");
- gtk_widget_class_bind_template_child (widget_class, GtkAppChooserWidget, program_list);
- gtk_widget_class_bind_template_child (widget_class, GtkAppChooserWidget, program_list_store);
- gtk_widget_class_bind_template_child (widget_class, GtkAppChooserWidget, column);
- gtk_widget_class_bind_template_child (widget_class, GtkAppChooserWidget, padding_renderer);
- gtk_widget_class_bind_template_child (widget_class, GtkAppChooserWidget, secondary_padding);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkAppChooserWidget, program_list);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkAppChooserWidget, program_list_store);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkAppChooserWidget, column);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkAppChooserWidget, padding_renderer);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkAppChooserWidget, secondary_padding);
gtk_widget_class_bind_template_callback (widget_class, refresh_and_emit_app_selected);
gtk_widget_class_bind_template_callback (widget_class, program_list_selection_activated);
gtk_widget_class_bind_template_callback (widget_class, widget_button_press_event_cb);