[gtk+] actionbar: Fix class and instance struct parent member



commit d15ca3b2b419430f10fd892c9e0567c66c700486
Author: Timm Bäder <mail baedert org>
Date:   Sun Jan 8 15:10:52 2017 +0100

    actionbar: Fix class and instance struct parent member

 gtk/gtkactionbar.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkactionbar.h b/gtk/gtkactionbar.h
index 49c3dea..dca84da 100644
--- a/gtk/gtkactionbar.h
+++ b/gtk/gtkactionbar.h
@@ -24,7 +24,7 @@
 #error "Only <gtk/gtk.h> can be included directly."
 #endif
 
-#include <gtk/gtkbin.h>
+#include <gtk/gtkcontainer.h>
 
 G_BEGIN_DECLS
 
@@ -42,13 +42,13 @@ typedef struct _GtkActionBarClass         GtkActionBarClass;
 struct _GtkActionBar
 {
   /*< private >*/
-  GtkBin bin;
+  GtkContainer container;
 };
 
 struct _GtkActionBarClass
 {
   /*< private >*/
-  GtkBinClass parent_class;
+  GtkContainerClass parent_class;
 
   /* Padding for future expansion */
   void (*_gtk_reserved1) (void);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]