diff options
author | Alexander Larsson <alexl@redhat.com> | 2013-07-26 08:41:09 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-07-26 08:41:09 -0400 |
commit | a8e84545d15abb477d6d97f56adb046b70befa48 (patch) | |
tree | ac06aad5ee6a6f053841f6af79b3074b150be35f /gtk/gtkfilechooserbutton.c | |
parent | 45d2f677bef40d32b17da7856119babeabf4438c (diff) | |
download | gtk+-a8e84545d15abb477d6d97f56adb046b70befa48.tar.gz |
widget: Use a real offset in gtk_widget_class_automate_child
Using an offset from the struct means you can have children in
both the public and private (via G_PRIVATE_OFFSET) parts of the
instance. It also matches the new private macros nicer.
https://bugzilla.gnome.org/show_bug.cgi?id=702563
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
Diffstat (limited to 'gtk/gtkfilechooserbutton.c')
-rw-r--r-- | gtk/gtkfilechooserbutton.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c index e4fc423179..bcd0972a13 100644 --- a/gtk/gtkfilechooserbutton.c +++ b/gtk/gtkfilechooserbutton.c @@ -472,13 +472,13 @@ gtk_file_chooser_button_class_init (GtkFileChooserButtonClass * class) gtk_widget_class_set_template_from_resource (widget_class, "/org/gtk/libgtk/gtkfilechooserbutton.ui"); - gtk_widget_class_bind_child (widget_class, GtkFileChooserButtonPrivate, model); - gtk_widget_class_bind_child (widget_class, GtkFileChooserButtonPrivate, button); - gtk_widget_class_bind_child (widget_class, GtkFileChooserButtonPrivate, image); - gtk_widget_class_bind_child (widget_class, GtkFileChooserButtonPrivate, label); - gtk_widget_class_bind_child (widget_class, GtkFileChooserButtonPrivate, combo_box); - gtk_widget_class_bind_child (widget_class, GtkFileChooserButtonPrivate, icon_cell); - gtk_widget_class_bind_child (widget_class, GtkFileChooserButtonPrivate, name_cell); + gtk_widget_class_bind_child (widget_class, GtkFileChooserButton, model); + gtk_widget_class_bind_child (widget_class, GtkFileChooserButton, button); + gtk_widget_class_bind_child (widget_class, GtkFileChooserButton, image); + gtk_widget_class_bind_child (widget_class, GtkFileChooserButton, label); + gtk_widget_class_bind_child (widget_class, GtkFileChooserButton, combo_box); + gtk_widget_class_bind_child (widget_class, GtkFileChooserButton, icon_cell); + gtk_widget_class_bind_child (widget_class, GtkFileChooserButton, name_cell); gtk_widget_class_bind_callback (widget_class, button_clicked_cb); gtk_widget_class_bind_callback (widget_class, combo_box_changed_cb); |