ayatana-commits team mailing list archive
-
ayatana-commits team
-
Mailing list archive
-
Message #00859
[Merge] lp:~ted/indicator-messages/sir-crash-o-lot into lp:indicator-messages
Ted Gould has proposed merging lp:~ted/indicator-messages/sir-crash-o-lot into lp:indicator-messages.
Requested reviews:
Indicator Applet Developers (indicator-applet-developers)
Removing the in brackets creation of a variable that also existed in the
function, thus creating a NULL pointer.
--
https://code.launchpad.net/~ted/indicator-messages/sir-crash-o-lot/+merge/18904
Your team ayatana-commits is subscribed to branch lp:indicator-messages.
=== modified file '.bzrignore'
--- .bzrignore 2009-08-26 02:40:35 +0000
+++ .bzrignore 2010-02-09 04:50:23 +0000
@@ -21,3 +21,4 @@
indicator-messages-service-activate
src/messages-service-client.h
src/messages-service-server.h
+po/indicator-messages.pot
=== modified file 'src/app-menu-item.c'
--- src/app-menu-item.c 2010-02-05 02:12:10 +0000
+++ src/app-menu-item.c 2010-02-09 04:50:23 +0000
@@ -97,7 +97,7 @@
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;
=== modified file 'src/messages-service.c'
--- src/messages-service.c 2009-12-18 21:46:18 +0000
+++ src/messages-service.c 2010-02-09 04:50:23 +0000
@@ -821,7 +821,6 @@
/* 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 @@
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;
Follow ups