diff options
author | Ted Gould <ted@gould.cx> | 2010-02-22 15:57:12 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-22 15:57:12 -0600 |
commit | 1d6eba2448b2753cb3cc38e05d763a576d40b978 (patch) | |
tree | e119d7410fd9d299a78f4f847890a4976864218c | |
parent | 75ccac53fc05f24633c76ac5d956b91a9a6640fb (diff) | |
download | libayatana-appindicator-1d6eba2448b2753cb3cc38e05d763a576d40b978.tar.gz libayatana-appindicator-1d6eba2448b2753cb3cc38e05d763a576d40b978.tar.bz2 libayatana-appindicator-1d6eba2448b2753cb3cc38e05d763a576d40b978.zip |
Looking at children with foreach instead of forall
-rw-r--r-- | src/libappindicator/app-indicator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c index 361875d..0490031 100644 --- a/src/libappindicator/app-indicator.c +++ b/src/libappindicator/app-indicator.c @@ -1240,7 +1240,7 @@ container_iterate (GtkWidget *widget, submenu = gtk_menu_item_get_submenu (GTK_MENU_ITEM (widget)); if (submenu != NULL) { - gtk_container_forall (GTK_CONTAINER (submenu), + gtk_container_foreach (GTK_CONTAINER (submenu), container_iterate, child); g_signal_connect_object (submenu, @@ -1285,7 +1285,7 @@ submenu_changed (GtkWidget *widget, dbusmenu_menuitem_child_delete (root, c); } - gtk_container_forall (GTK_CONTAINER (widget), + gtk_container_foreach (GTK_CONTAINER (widget), container_iterate, root); } @@ -1301,7 +1301,7 @@ setup_dbusmenu (AppIndicator *self) if (priv->menu) { - gtk_container_forall (GTK_CONTAINER (priv->menu), + gtk_container_foreach (GTK_CONTAINER (priv->menu), container_iterate, root); } |