From cda60c3c409730aa2f4ad2f5cdd0311fc97d0ee4 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 26 Jul 2013 16:29:12 -0400 Subject: 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. --- gtk/gtkfilechooserdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkfilechooserdialog.c') 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); -- cgit v1.2.1