summaryrefslogtreecommitdiff
path: root/gtk/gtkbox.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-08 15:31:02 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-11 22:38:21 -0400
commit5f642f809677749b8fb6364e668759818fc557f0 (patch)
treef168d9804f8d13f5ac2916ecc0c746076f1b3ccf /gtk/gtkbox.h
parent6bc4446e3e1f492de8b90ad0c8bae8862cc19e69 (diff)
downloadgtk+-5f642f809677749b8fb6364e668759818fc557f0.tar.gz
box: Derive from GtkWidget
Diffstat (limited to 'gtk/gtkbox.h')
-rw-r--r--gtk/gtkbox.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkbox.h b/gtk/gtkbox.h
index 56ed89980d..01f191c97e 100644
--- a/gtk/gtkbox.h
+++ b/gtk/gtkbox.h
@@ -30,7 +30,7 @@
#error "Only <gtk/gtk.h> can be included directly."
#endif
-#include <gtk/gtkcontainer.h>
+#include <gtk/gtkwidget.h>
G_BEGIN_DECLS
@@ -49,7 +49,7 @@ typedef struct _GtkBoxClass GtkBoxClass;
struct _GtkBox
{
- GtkContainer parent_instance;
+ GtkWidget parent_instance;
};
/**
@@ -58,7 +58,7 @@ struct _GtkBox
*/
struct _GtkBoxClass
{
- GtkContainerClass parent_class;
+ GtkWidgetClass parent_class;
/*< private >*/