summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/applet-main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/applet-main.c b/src/applet-main.c
index afdb296..d04a3b4 100644
--- a/src/applet-main.c
+++ b/src/applet-main.c
@@ -541,9 +541,9 @@ menu_show (IndicatorObject * io, IndicatorObjectEntry * entry,
if (entry == NULL) {
/* Close any open menus instead of opening one */
GList * entries = indicator_object_get_entries(io);
- GList * entry = NULL;
- for (entry = entries; entry != NULL; entry = g_list_next(entry)) {
- IndicatorObjectEntry * entrydata = (IndicatorObjectEntry *)entry->data;
+ GList * iterator = NULL;
+ for (iterator = entries; iterator != NULL; iterator = g_list_next(iterator)) {
+ IndicatorObjectEntry * entrydata = (IndicatorObjectEntry *)iterator->data;
gtk_menu_popdown(entrydata->menu);
}
g_list_free(entries);