From 2e14a11616caeeab0946196324195976598a5306 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Fri, 3 Feb 2006 23:39:48 +0000 Subject: [PATCH] GTK2: gtk_container_children -> gtk_container_get_children git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/notebook.cpp | 4 ++-- src/gtk/treegtk.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index 35137877b3..50009797eb 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -475,7 +475,7 @@ bool wxNotebook::SetPageImage( size_t page, int image ) { /* Case 2) or 4). There is already an image in the gtkhbox. Let's find it */ - GList *child = gtk_container_children(GTK_CONTAINER(nb_page->m_box)); + GList *child = gtk_container_get_children(GTK_CONTAINER(nb_page->m_box)); while (child) { if (GTK_IS_PIXMAP(child->data)) @@ -758,7 +758,7 @@ int wxNotebook::HitTest(const wxPoint& pt, long *flags) const { GtkWidget *pixmap = NULL; - GList *children = gtk_container_children(GTK_CONTAINER(box)); + GList *children = gtk_container_get_children(GTK_CONTAINER(box)); for ( GList *child = children; child; child = child->next ) { if ( GTK_IS_PIXMAP(child->data) ) diff --git a/src/gtk/treegtk.cpp b/src/gtk/treegtk.cpp index 736d6dd36b..9c6809f292 100644 --- a/src/gtk/treegtk.cpp +++ b/src/gtk/treegtk.cpp @@ -714,7 +714,7 @@ long wxTreeCtrl::GetChild(long item) const { GtkTreeItem *next = NULL; p = findGtkTreeItem(item); - GList *list = gtk_container_children(GTK_CONTAINER(p)); + GList *list = gtk_container_get_children(GTK_CONTAINER(p)); next = GTK_TREE_ITEM(list->data); if (next != NULL) @@ -726,7 +726,7 @@ long wxTreeCtrl::GetChild(long item) const { long wxTreeCtrl::GetFirstVisibleItem(void) const { GtkTreeItem *next = NULL; - GList *list = gtk_container_children(GTK_CONTAINER(m_anchor)); + GList *list = gtk_container_get_children(GTK_CONTAINER(m_anchor)); next = GTK_TREE_ITEM(list->data); // gtk_container_foreach(GTK_CONTAINER(m_anchor), gtk_treectrl_next_visible_callback, &next); @@ -741,7 +741,7 @@ long wxTreeCtrl::GetNextVisibleItem(long item) const { GtkTreeItem *next = NULL; p = findGtkTreeItem(item); - GList *list = gtk_container_children(GTK_CONTAINER(p)); + GList *list = gtk_container_get_children(GTK_CONTAINER(p)); next = GTK_TREE_ITEM(list->data); // gtk_container_foreach(GTK_CONTAINER(p), gtk_treectrl_next_visible_callback, &next);