diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2010-02-09 16:35:15 +0100 |
---|---|---|
committer | Sebastien Bacher <seb128@ubuntu.com> | 2010-02-09 16:35:15 +0100 |
commit | 6e032aafef0536a1047f8615318be98e84fe9fd4 (patch) | |
tree | a067eabc5789fe012fe7b7d7e3d6af69fe5067b5 /src | |
parent | 5747ab334feab5f4c2b439631cc511987f25484a (diff) | |
parent | b2c751f01da2d051a9c64c18e617c4421e1a68ad (diff) | |
download | ayatana-indicator-messages-6e032aafef0536a1047f8615318be98e84fe9fd4.tar.gz ayatana-indicator-messages-6e032aafef0536a1047f8615318be98e84fe9fd4.tar.bz2 ayatana-indicator-messages-6e032aafef0536a1047f8615318be98e84fe9fd4.zip |
releasing version 0.3.1-0ubuntu2
Diffstat (limited to 'src')
-rw-r--r-- | src/app-menu-item.c | 2 | ||||
-rw-r--r-- | src/messages-service.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c index 9c51475..71860ea 100644 --- a/src/app-menu-item.c +++ b/src/app-menu-item.c @@ -97,7 +97,7 @@ app_menu_item_class_init (AppMenuItemClass *klass) static void app_menu_item_init (AppMenuItem *self) { - g_debug("Building new IM Menu Item"); + g_debug("Building new App Menu Item"); AppMenuItemPrivate * priv = APP_MENU_ITEM_GET_PRIVATE(self); priv->listener = NULL; diff --git a/src/messages-service.c b/src/messages-service.c index f1e1b0d..ca9e799 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -821,7 +821,6 @@ indicator_added (IndicateListener * listener, IndicateListenerServer * server, I /* Building the IM Menu Item which is a subclass of DBus Menuitem */ ImMenuItem * menuitem = im_menu_item_new(listener, server, indicator); - g_object_ref(G_OBJECT(menuitem)); listItem->menuitem = DBUSMENU_MENUITEM(menuitem); /* Looking for a server entry to attach this indicator @@ -835,7 +834,7 @@ indicator_added (IndicateListener * listener, IndicateListenerServer * server, I if (serverentry == NULL) { /* This sucks, we got an indicator before the server. I guess that's the joy of being asynchronous */ - serverList_t * sl_item = g_new0(serverList_t, 1); + sl_item = g_new0(serverList_t, 1); sl_item->server = server; sl_item->menuitem = NULL; sl_item->imList = NULL; |