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.
This commit is contained in:
Owen Taylor 2001-08-23 23:38:32 +00:00 committed by Owen Taylor
parent f0f3c6bfd2
commit 991a7188ed
11 changed files with 74 additions and 6 deletions

View File

@ -1,3 +1,12 @@
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

View File

@ -1,3 +1,12 @@
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

View File

@ -1,3 +1,12 @@
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

View File

@ -1,3 +1,12 @@
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

View File

@ -1,3 +1,12 @@
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

View File

@ -1,3 +1,12 @@
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

View File

@ -1,3 +1,12 @@
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

View File

@ -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;

View File

@ -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);

View File

@ -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)

View File

@ -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))
{