[gtk/kill-buttonbox] Drop gtkboxprivate.h



commit 32e61b955acfa544ef7b4b6c47eb73653306bd05
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Feb 5 07:54:35 2019 -0500

    Drop gtkboxprivate.h
    
    Not needed anymore.

 docs/reference/gtk/meson.build |  1 -
 gtk/gtkbox.c                   | 17 -----------------
 gtk/gtkboxprivate.h            | 30 ------------------------------
 gtk/gtkdialog.c                |  1 -
 4 files changed, 49 deletions(-)
---
diff --git a/docs/reference/gtk/meson.build b/docs/reference/gtk/meson.build
index 12147fa674..75eb45be35 100644
--- a/docs/reference/gtk/meson.build
+++ b/docs/reference/gtk/meson.build
@@ -11,7 +11,6 @@ private_headers = [
   'gtkapplicationprivate.h',
   'gtkbindingsprivate.h',
   'gtkbitmaskprivate.h',
-  'gtkboxprivate.h',
   'gtkbuilderprivate.h',
   'gtkbuttonprivate.h',
   'gtkcellareaboxcontextprivate.h',
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index 2e952a5af0..307276c63f 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -57,7 +57,6 @@
 #include "config.h"
 
 #include "gtkbox.h"
-#include "gtkboxprivate.h"
 #include "gtkcsspositionvalueprivate.h"
 #include "gtkintl.h"
 #include "gtkorientable.h"
@@ -1081,22 +1080,6 @@ gtk_box_forall (GtkContainer *container,
 
 }
 
-GList *
-_gtk_box_get_children (GtkBox *box)
-{
-  GtkWidget *p;
-  GList *retval = NULL;
-
-  g_return_val_if_fail (GTK_IS_BOX (box), NULL);
-
-  for (p = _gtk_widget_get_first_child (GTK_WIDGET (box));
-       p != NULL;
-       p = _gtk_widget_get_next_sibling (p))
-    retval = g_list_prepend (retval, p);
-
-  return g_list_reverse (retval);
-}
-
 /**
  * gtk_box_insert_child_after:
  * @box: a #GtkBox
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index b183f37718..db6cbac56e 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -34,7 +34,6 @@
 #include "gtklabel.h"
 #include "gtkmarshalers.h"
 #include "gtkbox.h"
-#include "gtkboxprivate.h"
 #include "gtkcontainerprivate.h"
 #include "gtkmain.h"
 #include "gtkintl.h"


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