GtkInfoBar: derive from GtkBox, not GtkHBox

This commit is contained in:
Matthias Clasen
2011-06-07 19:55:03 -04:00
parent 34085147e9
commit 876cbb7517
2 changed files with 5 additions and 4 deletions

View File

@ -35,7 +35,7 @@
#ifndef __GTK_INFO_BAR_H__
#define __GTK_INFO_BAR_H__
#include <gtk/gtkhbox.h>
#include <gtk/gtkbox.h>
#include <gtk/gtkenums.h>
G_BEGIN_DECLS
@ -58,7 +58,7 @@ typedef struct _GtkInfoBar GtkInfoBar;
struct _GtkInfoBar
{
GtkHBox parent;
GtkBox parent;
/*< private > */
GtkInfoBarPrivate *priv;
@ -67,7 +67,7 @@ struct _GtkInfoBar
struct _GtkInfoBarClass
{
GtkHBoxClass parent_class;
GtkBoxClass parent_class;
/* Signals */
void (* response) (GtkInfoBar *info_bar, gint response_id);