summaryrefslogtreecommitdiff
path: root/gtk/gtkpagesetupunixdialog.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/gtkpagesetupunixdialog.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/gtkpagesetupunixdialog.c')
-rw-r--r--gtk/gtkpagesetupunixdialog.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk/gtkpagesetupunixdialog.c b/gtk/gtkpagesetupunixdialog.c
index fff76e4ed9..f5800fb81f 100644
--- a/gtk/gtkpagesetupunixdialog.c
+++ b/gtk/gtkpagesetupunixdialog.c
@@ -162,17 +162,17 @@ gtk_page_setup_unix_dialog_class_init (GtkPageSetupUnixDialogClass *class)
gtk_widget_class_set_template_from_resource (widget_class,
"/org/gtk/libgtk/gtkpagesetupunixdialog.ui");
- gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialogPrivate, printer_list);
- gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialogPrivate, page_setup_list);
- gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialogPrivate, custom_paper_list);
- gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialogPrivate, printer_combo);
- gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialogPrivate, paper_size_combo);
- gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialogPrivate, paper_size_label);
- gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialogPrivate, paper_size_cell);
- gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialogPrivate, portrait_radio);
- gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialogPrivate, reverse_portrait_radio);
- gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialogPrivate, landscape_radio);
- gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialogPrivate, reverse_landscape_radio);
+ gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialog, printer_list);
+ gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialog, page_setup_list);
+ gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialog, custom_paper_list);
+ gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialog, printer_combo);
+ gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialog, paper_size_combo);
+ gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialog, paper_size_label);
+ gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialog, paper_size_cell);
+ gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialog, portrait_radio);
+ gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialog, reverse_portrait_radio);
+ gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialog, landscape_radio);
+ gtk_widget_class_bind_child (widget_class, GtkPageSetupUnixDialog, reverse_landscape_radio);
gtk_widget_class_bind_callback (widget_class, printer_changed_callback);
gtk_widget_class_bind_callback (widget_class, paper_size_changed);