summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserdialog.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/gtkfilechooserdialog.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/gtkfilechooserdialog.c')
-rw-r--r--gtk/gtkfilechooserdialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c
index e079e49042..f1169f7539 100644
--- a/gtk/gtkfilechooserdialog.c
+++ b/gtk/gtkfilechooserdialog.c
@@ -248,7 +248,7 @@ gtk_file_chooser_dialog_class_init (GtkFileChooserDialogClass *class)
gtk_widget_class_set_template_from_resource (widget_class,
"/org/gtk/libgtk/gtkfilechooserdialog.ui");
- gtk_widget_class_bind_template_child (widget_class, GtkFileChooserDialog, widget);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserDialog, widget);
gtk_widget_class_bind_template_callback (widget_class, response_cb);
gtk_widget_class_bind_template_callback (widget_class, file_chooser_widget_file_activated);
gtk_widget_class_bind_template_callback (widget_class, file_chooser_widget_default_size_changed);