Commit 991a7188 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Rename gtk_container_children() to gtk_container_get_children. Added

Thu Aug 23 19:33:54 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcontainer.[ch]: Rename gtk_container_children()
	to gtk_container_get_children. Added deprecated compatibility
	macro.	(Suggested by Vitaly Tishkov, #59051)

	* gtk/gtktoolbar.c gtkdialog.c: Fix gtk_container_children()
	calls.
parent f0f3c6bf
Thu Aug 23 19:33:54 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.[ch]: Rename gtk_container_children()
to gtk_container_get_children. Added deprecated compatibility
macro. (Suggested by Vitaly Tishkov, #59051)
* gtk/gtktoolbar.c gtkdialog.c: Fix gtk_container_children()
calls.
Thu Aug 23 19:10:01 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.h (gtk_menu_bar_insert): Deprecate
......
Thu Aug 23 19:33:54 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.[ch]: Rename gtk_container_children()
to gtk_container_get_children. Added deprecated compatibility
macro. (Suggested by Vitaly Tishkov, #59051)
* gtk/gtktoolbar.c gtkdialog.c: Fix gtk_container_children()
calls.
Thu Aug 23 19:10:01 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.h (gtk_menu_bar_insert): Deprecate
......
Thu Aug 23 19:33:54 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.[ch]: Rename gtk_container_children()
to gtk_container_get_children. Added deprecated compatibility
macro. (Suggested by Vitaly Tishkov, #59051)
* gtk/gtktoolbar.c gtkdialog.c: Fix gtk_container_children()
calls.
Thu Aug 23 19:10:01 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.h (gtk_menu_bar_insert): Deprecate
......
Thu Aug 23 19:33:54 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.[ch]: Rename gtk_container_children()
to gtk_container_get_children. Added deprecated compatibility
macro. (Suggested by Vitaly Tishkov, #59051)
* gtk/gtktoolbar.c gtkdialog.c: Fix gtk_container_children()
calls.
Thu Aug 23 19:10:01 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.h (gtk_menu_bar_insert): Deprecate
......
Thu Aug 23 19:33:54 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.[ch]: Rename gtk_container_children()
to gtk_container_get_children. Added deprecated compatibility
macro. (Suggested by Vitaly Tishkov, #59051)
* gtk/gtktoolbar.c gtkdialog.c: Fix gtk_container_children()
calls.
Thu Aug 23 19:10:01 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.h (gtk_menu_bar_insert): Deprecate
......
Thu Aug 23 19:33:54 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.[ch]: Rename gtk_container_children()
to gtk_container_get_children. Added deprecated compatibility
macro. (Suggested by Vitaly Tishkov, #59051)
* gtk/gtktoolbar.c gtkdialog.c: Fix gtk_container_children()
calls.
Thu Aug 23 19:10:01 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.h (gtk_menu_bar_insert): Deprecate
......
Thu Aug 23 19:33:54 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.[ch]: Rename gtk_container_children()
to gtk_container_get_children. Added deprecated compatibility
macro. (Suggested by Vitaly Tishkov, #59051)
* gtk/gtktoolbar.c gtkdialog.c: Fix gtk_container_children()
calls.
Thu Aug 23 19:10:01 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.h (gtk_menu_bar_insert): Deprecate
......
......@@ -1398,7 +1398,7 @@ gtk_container_set_focus_child (GtkContainer *container,
}
GList*
gtk_container_children (GtkContainer *container)
gtk_container_get_children (GtkContainer *container)
{
GList *children;
......
......@@ -127,7 +127,12 @@ void gtk_container_foreach_full (GtkContainer *container,
GtkCallbackMarshal marshal,
gpointer callback_data,
GtkDestroyNotify notify);
GList* gtk_container_children (GtkContainer *container);
GList* gtk_container_get_children (GtkContainer *container);
#ifndef GTK_DISABLE_DEPRECATED
#define gtk_container_children gtk_container_get_children
#endif
void gtk_container_propagate_expose (GtkContainer *container,
GtkWidget *child,
GdkEventExpose *event);
......
......@@ -631,7 +631,7 @@ gtk_dialog_set_response_sensitive (GtkDialog *dialog,
GList *children;
GList *tmp_list;
children = gtk_container_children (GTK_CONTAINER (dialog));
children = gtk_container_get_children (GTK_CONTAINER (dialog));
tmp_list = children;
while (tmp_list != NULL)
......@@ -666,7 +666,7 @@ gtk_dialog_set_default_response (GtkDialog *dialog,
GList *children;
GList *tmp_list;
children = gtk_container_children (GTK_CONTAINER (dialog->action_area));
children = gtk_container_get_children (GTK_CONTAINER (dialog->action_area));
tmp_list = children;
while (tmp_list != NULL)
......
......@@ -1588,7 +1588,7 @@ gtk_real_toolbar_style_changed (GtkToolbar *toolbar,
if (child->label && !GTK_WIDGET_VISIBLE (child->label))
gtk_widget_show (child->label);
box = (GtkWidget*)gtk_container_children (GTK_CONTAINER (child->widget))->data;
box = (GtkWidget*)gtk_container_get_children (GTK_CONTAINER (child->widget))->data;
if (GTK_IS_HBOX (box))
{
......@@ -1632,7 +1632,7 @@ gtk_real_toolbar_style_changed (GtkToolbar *toolbar,
if (child->label && !GTK_WIDGET_VISIBLE (child->label))
gtk_widget_show (child->label);
box = (GtkWidget*)gtk_container_children (GTK_CONTAINER (child->widget))->data;
box = (GtkWidget*)gtk_container_get_children (GTK_CONTAINER (child->widget))->data;
if (GTK_IS_VBOX (box))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment