[glade] GladeGtkWindow: remove get_children() method



commit 5028c3970524633eaddfc7ba601ba9073a5c2b93
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Sat Mar 24 13:22:48 2018 -0300

    GladeGtkWindow: remove get_children() method

 plugins/gtk+/glade-gtk-window.c |   18 ------------------
 plugins/gtk+/gtk+.xml.in        |    1 -
 2 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/plugins/gtk+/glade-gtk-window.c b/plugins/gtk+/glade-gtk-window.c
index 6ea3916..d861259 100644
--- a/plugins/gtk+/glade-gtk-window.c
+++ b/plugins/gtk+/glade-gtk-window.c
@@ -366,21 +366,3 @@ glade_gtk_window_remove_child (GladeWidgetAdaptor * adaptor,
     }
 }
 
-GList *
-glade_gtk_window_get_children (GladeWidgetAdaptor *adaptor, GObject *container)
-{
-  GladeWidget *gwidget = glade_widget_get_from_gobject (container);
-  GtkWidget *child = gtk_bin_get_child (GTK_BIN (container));
-  GtkWidget *titlebar = gtk_window_get_titlebar (GTK_WINDOW (container));
-  GList *children = NULL;
-  gboolean use_csd;
-
-  if (child)
-    children = g_list_prepend (children, child);
-
-  if (glade_widget_property_get (gwidget, "use-csd", &use_csd) &&
-      use_csd && titlebar)
-    children = g_list_prepend (children, titlebar);
-
-  return children;
-}
diff --git a/plugins/gtk+/gtk+.xml.in b/plugins/gtk+/gtk+.xml.in
index e5539ec..5e98796 100644
--- a/plugins/gtk+/gtk+.xml.in
+++ b/plugins/gtk+/gtk+.xml.in
@@ -747,7 +747,6 @@
         <add-child-function>glade_gtk_window_add_child</add-child-function>
         <remove-child-function>glade_gtk_window_remove_child</remove-child-function>
         <replace-child-function>glade_gtk_window_replace_child</replace-child-function>
-        <get-children-function>glade_gtk_window_get_children</get-children-function>
         <special-child-type>type</special-child-type>
         
         <properties> 


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