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/gtkaboutdialog.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/gtkaboutdialog.c')
-rw-r--r-- | gtk/gtkaboutdialog.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index 1d99c8627a..0529114feb 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -557,18 +557,18 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass) gtk_widget_class_set_template_from_resource (widget_class, "/org/gtk/libgtk/gtkaboutdialog.ui"); - gtk_widget_class_bind_child (widget_class, GtkAboutDialogPrivate, notebook); - gtk_widget_class_bind_child (widget_class, GtkAboutDialogPrivate, logo_image); - gtk_widget_class_bind_child (widget_class, GtkAboutDialogPrivate, name_label); - gtk_widget_class_bind_child (widget_class, GtkAboutDialogPrivate, version_label); - gtk_widget_class_bind_child (widget_class, GtkAboutDialogPrivate, comments_label); - gtk_widget_class_bind_child (widget_class, GtkAboutDialogPrivate, copyright_label); - gtk_widget_class_bind_child (widget_class, GtkAboutDialogPrivate, license_label); - gtk_widget_class_bind_child (widget_class, GtkAboutDialogPrivate, website_label); - gtk_widget_class_bind_child (widget_class, GtkAboutDialogPrivate, credits_button); - gtk_widget_class_bind_child (widget_class, GtkAboutDialogPrivate, license_button); - gtk_widget_class_bind_child (widget_class, GtkAboutDialogPrivate, credits_grid); - gtk_widget_class_bind_child (widget_class, GtkAboutDialogPrivate, license_view); + gtk_widget_class_bind_child (widget_class, GtkAboutDialog, notebook); + gtk_widget_class_bind_child (widget_class, GtkAboutDialog, logo_image); + gtk_widget_class_bind_child (widget_class, GtkAboutDialog, name_label); + gtk_widget_class_bind_child (widget_class, GtkAboutDialog, version_label); + gtk_widget_class_bind_child (widget_class, GtkAboutDialog, comments_label); + gtk_widget_class_bind_child (widget_class, GtkAboutDialog, copyright_label); + gtk_widget_class_bind_child (widget_class, GtkAboutDialog, license_label); + gtk_widget_class_bind_child (widget_class, GtkAboutDialog, website_label); + gtk_widget_class_bind_child (widget_class, GtkAboutDialog, credits_button); + gtk_widget_class_bind_child (widget_class, GtkAboutDialog, license_button); + gtk_widget_class_bind_child (widget_class, GtkAboutDialog, credits_grid); + gtk_widget_class_bind_child (widget_class, GtkAboutDialog, license_view); gtk_widget_class_bind_callback (widget_class, credits_button_clicked); gtk_widget_class_bind_callback (widget_class, license_button_clicked); |