summaryrefslogtreecommitdiff
path: root/applets/notification_area/status-notifier/sn-host-v0.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/notification_area/status-notifier/sn-host-v0.c')
-rw-r--r--applets/notification_area/status-notifier/sn-host-v0.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/applets/notification_area/status-notifier/sn-host-v0.c b/applets/notification_area/status-notifier/sn-host-v0.c
index 4ad6b359..64da5da9 100644
--- a/applets/notification_area/status-notifier/sn-host-v0.c
+++ b/applets/notification_area/status-notifier/sn-host-v0.c
@@ -193,6 +193,7 @@ register_host_cb (GObject *source_object,
GError *error;
SnHostV0 *v0;
gchar **items;
+ gint i;
error = NULL;
sn_watcher_v0_gen_call_register_host_finish (SN_WATCHER_V0_GEN (source_object),
@@ -223,7 +224,7 @@ register_host_cb (GObject *source_object,
items = sn_watcher_v0_gen_dup_registered_items (v0->watcher);
if (items) {
- for (gint i = 0; items[i] != NULL; i++)
+ for (i = 0; items[i] != NULL; i++)
add_registered_item (v0, items[i]);
}