[gtk/kill-containers: 194/199] Drop gtkcontainer.h includes



commit e844a6c17e5005f3a63e6e2d53cf4f9debf6fbed
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 9cb94845ee..6c0b1513fb 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]