diff options
author | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2018-03-24 13:22:48 -0300 |
---|---|---|
committer | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2018-03-24 14:40:23 -0300 |
commit | 5028c3970524633eaddfc7ba601ba9073a5c2b93 (patch) | |
tree | 1d6e12f3316f75467f29eed6ceb4f900db5c933e | |
parent | eee138d1d4f3b5f0ce638655ad493f289bf087b2 (diff) | |
download | glade-5028c3970524633eaddfc7ba601ba9073a5c2b93.tar.gz |
GladeGtkWindow: remove get_children() method
-rw-r--r-- | plugins/gtk+/glade-gtk-window.c | 18 | ||||
-rw-r--r-- | 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 6ea39162..d8612590 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 e5539ecd..5e987963 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> |