aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-04 21:13:10 -0500
committerTed Gould <ted@canonical.com>2009-09-04 21:13:10 -0500
commit30926eccbe28028ae88294fa597bfa2217ccaa41 (patch)
tree617e113138406278ed35c67fa494afa447c2b847
parent2a87b9c42f64cd97c60c2d21733bba9f4625e8cc (diff)
downloadayatana-indicator-messages-30926eccbe28028ae88294fa597bfa2217ccaa41.tar.gz
ayatana-indicator-messages-30926eccbe28028ae88294fa597bfa2217ccaa41.tar.bz2
ayatana-indicator-messages-30926eccbe28028ae88294fa597bfa2217ccaa41.zip
Initializing count
-rw-r--r--src/messages-service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 2467dd4..b6374f0 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -460,6 +460,7 @@ server_added (IndicateListener * listener, IndicateListenerServer * server, gcha
sl_item->menuitem = menuitem;
sl_item->imList = NULL;
sl_item->attention = FALSE;
+ sl_item->count = 0;
/* Incase we got an indicator first */
GList * alreadythere = g_list_find_custom(serverList, sl_item, serverList_equal);
@@ -715,6 +716,7 @@ indicator_added (IndicateListener * listener, IndicateListenerServer * server, I
sl_item->menuitem = NULL;
sl_item->imList = NULL;
sl_item->attention = FALSE;
+ sl_item->count = 0;
serverList = g_list_insert_sorted(serverList, sl_item, serverList_sort);
} else {