summaryrefslogtreecommitdiff
path: root/gtk/gtkcombobox.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-07-16 14:33:21 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-07-16 14:33:21 +0000
commitd8df3618135b4abe4a3af6cba6bff6aea225fc0f (patch)
tree6547e4ab830c041b2359ed2a2a5083e3594f5b3e /gtk/gtkcombobox.c
parentb6b532c68abc9a849236eacf32a061e5730df3d0 (diff)
downloadgtk+-d8df3618135b4abe4a3af6cba6bff6aea225fc0f.tar.gz
Don't iterate multiple times over some of the children.
2004-07-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_forall): Don't iterate multiple times over some of the children.
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r--gtk/gtkcombobox.c6
1 files changed, 0 insertions, 6 deletions
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);
}