summaryrefslogtreecommitdiff
path: root/gtk/gtkappchooserwidget.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2013-07-26 13:49:49 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-07-26 13:52:15 -0400
commit89ae3524a32b8532b9b1da836eaa8b610feec22d (patch)
tree2fdf029b998abf6323c00c805f529f7216aa076d /gtk/gtkappchooserwidget.c
parent62aa54f536d548a2abff6f84dc01ee666193419d (diff)
downloadgtk+-89ae3524a32b8532b9b1da836eaa8b610feec22d.tar.gz
Rename the widget template API
The macros and functions are inconsistently named, and are not tied to the "template" concept - to the point that it seems plausible to use them without setting the template. The new naming scheme is as follows: gtk_widget_class_bind_template_child_full gtk_widget_class_bind_template_callback_full With the convenience macros: gtk_widget_class_bind_template_child gtk_widget_class_bind_template_child_internal gtk_widget_class_bind_template_callback https://bugzilla.gnome.org/show_bug.cgi?id=700898 https://bugzilla.gnome.org/show_bug.cgi?id=700896
Diffstat (limited to 'gtk/gtkappchooserwidget.c')
-rw-r--r--gtk/gtkappchooserwidget.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkappchooserwidget.c b/gtk/gtkappchooserwidget.c
index 726abb5499..db498f2e50 100644
--- a/gtk/gtkappchooserwidget.c
+++ b/gtk/gtkappchooserwidget.c
@@ -1086,14 +1086,14 @@ 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_child (widget_class, GtkAppChooserWidget, program_list);
- gtk_widget_class_bind_child (widget_class, GtkAppChooserWidget, program_list_store);
- gtk_widget_class_bind_child (widget_class, GtkAppChooserWidget, column);
- gtk_widget_class_bind_child (widget_class, GtkAppChooserWidget, padding_renderer);
- gtk_widget_class_bind_child (widget_class, GtkAppChooserWidget, secondary_padding);
- gtk_widget_class_bind_callback (widget_class, refresh_and_emit_app_selected);
- gtk_widget_class_bind_callback (widget_class, program_list_selection_activated);
- gtk_widget_class_bind_callback (widget_class, widget_button_press_event_cb);
+ 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_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);
}
static void