[gtk/kill-containers: 38/43] Drop gtkcontainer.h includes



commit 6f9d299393a116fb0483d1ea44051c466199d1e5
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri May 8 20:02:55 2020 -0400

    Drop gtkcontainer.h includes
    
    These includes are unused.

 gtk/gtkmenubutton.c    | 2 +-
 gtk/gtkpathbar.h       | 2 +-
 gtk/gtksizegroup.c     | 2 +-
 gtk/gtkwidgetprivate.h | 1 -
 4 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index ebb17a01da..b4e842f0b5 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -381,7 +381,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
       g_param_spec_object ("align-widget",
                            P_("Align with"),
                            P_("The parent widget which the menu should align with."),
-                           GTK_TYPE_CONTAINER,
+                           GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE);
 
   /**
diff --git a/gtk/gtkpathbar.h b/gtk/gtkpathbar.h
index 52a2df2deb..1e9c0f1e6c 100644
--- a/gtk/gtkpathbar.h
+++ b/gtk/gtkpathbar.h
@@ -18,7 +18,7 @@
 #ifndef __GTK_PATH_BAR_H__
 #define __GTK_PATH_BAR_H__
 
-#include "gtkcontainer.h"
+#include "gtkwidget.h"
 #include "gtkfilesystem.h"
 
 G_BEGIN_DECLS
diff --git a/gtk/gtksizegroup.c b/gtk/gtksizegroup.c
index 047ac24e16..19999fece4 100644
--- a/gtk/gtksizegroup.c
+++ b/gtk/gtksizegroup.c
@@ -21,7 +21,7 @@
 
 #include "gtkbuildable.h"
 #include "gtkbuilderprivate.h"
-#include "gtkcontainer.h"
+#include "gtkwidget.h"
 #include "gtkintl.h"
 #include "gtktypebuiltins.h"
 #include "gtkprivate.h"
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index 5a92e75e5d..56eb2ce787 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -28,7 +28,6 @@
 #include "gtkwidget.h"
 
 #include "gtkactionmuxerprivate.h"
-#include "gtkcontainer.h"
 #include "gtkcsstypesprivate.h"
 #include "gtkeventcontrollerprivate.h"
 #include "gtklistlistmodelprivate.h"


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