summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserdialog.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2013-07-26 08:41:09 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-07-26 08:41:09 -0400
commita8e84545d15abb477d6d97f56adb046b70befa48 (patch)
treeac06aad5ee6a6f053841f6af79b3074b150be35f /gtk/gtkfilechooserdialog.c
parent45d2f677bef40d32b17da7856119babeabf4438c (diff)
downloadgtk+-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/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 1136c2c8ef..d000b20417 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_child (widget_class, GtkFileChooserDialogPrivate, widget);
+ gtk_widget_class_bind_child (widget_class, GtkFileChooserDialog, widget);
gtk_widget_class_bind_callback (widget_class, response_cb);
gtk_widget_class_bind_callback (widget_class, file_chooser_widget_file_activated);
gtk_widget_class_bind_callback (widget_class, file_chooser_widget_default_size_changed);