GtkStatusbar: derive from GtkBox, not GtkHBox
This commit is contained in:
		| @ -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)); | ||||
|  | ||||
|  | ||||
| @ -32,7 +32,7 @@ | ||||
| #ifndef __GTK_STATUSBAR_H__ | ||||
| #define __GTK_STATUSBAR_H__ | ||||
|  | ||||
| #include <gtk/gtkhbox.h> | ||||
| #include <gtk/gtkbox.h> | ||||
|  | ||||
| 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; | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Matthias Clasen
					Matthias Clasen