From d8df3618135b4abe4a3af6cba6bff6aea225fc0f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 16 Jul 2004 14:33:21 +0000 Subject: Don't iterate multiple times over some of the children. 2004-07-16 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_forall): Don't iterate multiple times over some of the children. --- gtk/gtkcombobox.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gtk/gtkcombobox.c') diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index a090e61291..a00b54a0bc 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -1751,12 +1751,6 @@ gtk_combo_box_forall (GtkContainer *container, { if (combo_box->priv->button) (* callback) (combo_box->priv->button, callback_data); - if (combo_box->priv->box) - (* callback) (combo_box->priv->box, callback_data); - if (combo_box->priv->separator) - (* callback) (combo_box->priv->separator, callback_data); - if (combo_box->priv->arrow) - (* callback) (combo_box->priv->arrow, callback_data); if (combo_box->priv->cell_view_frame) (* callback) (combo_box->priv->cell_view_frame, callback_data); } -- cgit v1.2.1