diff --git a/gtk/gtkstatusbar.c b/gtk/gtkstatusbar.c index ff47d2edf3..44398b34d4 100644 --- a/gtk/gtkstatusbar.c +++ b/gtk/gtkstatusbar.c @@ -35,6 +35,7 @@ #include "gtkprivate.h" #include "gtkintl.h" #include "gtkbuildable.h" +#include "gtkorientable.h" #include "gtktypebuiltins.h" /** @@ -118,7 +119,7 @@ static void gtk_statusbar_hierarchy_changed (GtkWidget *widget, static guint statusbar_signals[SIGNAL_LAST] = { 0 }; -G_DEFINE_TYPE_WITH_CODE (GtkStatusbar, gtk_statusbar, GTK_TYPE_HBOX, +G_DEFINE_TYPE_WITH_CODE (GtkStatusbar, gtk_statusbar, GTK_TYPE_BOX, G_IMPLEMENT_INTERFACE (GTK_TYPE_BUILDABLE, gtk_statusbar_buildable_interface_init)); diff --git a/gtk/gtkstatusbar.h b/gtk/gtkstatusbar.h index 4de1f90ddd..f0437184d3 100644 --- a/gtk/gtkstatusbar.h +++ b/gtk/gtkstatusbar.h @@ -32,7 +32,7 @@ #ifndef __GTK_STATUSBAR_H__ #define __GTK_STATUSBAR_H__ -#include +#include G_BEGIN_DECLS @@ -50,7 +50,7 @@ typedef struct _GtkStatusbarClass GtkStatusbarClass; struct _GtkStatusbar { - GtkHBox parent_widget; + GtkBox parent_widget; /*< private >*/ GtkStatusbarPrivate *priv; @@ -58,7 +58,7 @@ struct _GtkStatusbar struct _GtkStatusbarClass { - GtkHBoxClass parent_class; + GtkBoxClass parent_class; gpointer reserved;