diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-06-07 19:55:24 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-06-07 19:55:24 -0400 |
commit | ec4b5668665f9e8231ceb861158efee765532af9 (patch) | |
tree | 4672f03415200430a8aa2bc9f9b1661fafacec07 /gtk/gtkprinteroptionwidget.c | |
parent | 876cbb7517f24e89ad7fad42d07f3bb52284550c (diff) | |
download | gtk+-ec4b5668665f9e8231ceb861158efee765532af9.tar.gz |
GtkPrinterOptionWidget: derive from GtkBox, not GtkHBox
Diffstat (limited to 'gtk/gtkprinteroptionwidget.c')
-rw-r--r-- | gtk/gtkprinteroptionwidget.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkprinteroptionwidget.c b/gtk/gtkprinteroptionwidget.c index 89891a4d1b..0c38d8838c 100644 --- a/gtk/gtkprinteroptionwidget.c +++ b/gtk/gtkprinteroptionwidget.c @@ -37,6 +37,7 @@ #include "gtkstock.h" #include "gtktable.h" #include "gtktogglebutton.h" +#include "gtkorientable.h" #include "gtkprivate.h" #include "gtkprinteroptionwidget.h" @@ -76,7 +77,7 @@ enum { static guint signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (GtkPrinterOptionWidget, gtk_printer_option_widget, GTK_TYPE_HBOX) +G_DEFINE_TYPE (GtkPrinterOptionWidget, gtk_printer_option_widget, GTK_TYPE_BOX) static void gtk_printer_option_widget_set_property (GObject *object, guint prop_id, @@ -104,7 +105,7 @@ gtk_printer_option_widget_class_init (GtkPrinterOptionWidgetClass *class) widget_class->mnemonic_activate = gtk_printer_option_widget_mnemonic_activate; - g_type_class_add_private (class, sizeof (GtkPrinterOptionWidgetPrivate)); + g_type_class_add_private (class, sizeof (GtkPrinterOptionWidgetPrivate)); signals[CHANGED] = g_signal_new ("changed", |