diff options
author | Ted Gould <ted@gould.cx> | 2010-02-08 21:54:31 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-08 21:54:31 -0600 |
commit | 6aa477f14c1d3886540d65cac4733d3a9a0291e2 (patch) | |
tree | a362211bdf7259ddf6edaf92660fd4095ecec500 /src/messages-service.c | |
parent | 985c87a1e628c585a5b629f358b3b3f98b85f2a9 (diff) | |
download | ayatana-indicator-messages-6aa477f14c1d3886540d65cac4733d3a9a0291e2.tar.gz ayatana-indicator-messages-6aa477f14c1d3886540d65cac4733d3a9a0291e2.tar.bz2 ayatana-indicator-messages-6aa477f14c1d3886540d65cac4733d3a9a0291e2.zip |
Creating a local variable that was masking the one in the function.
Diffstat (limited to 'src/messages-service.c')
-rw-r--r-- | src/messages-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages-service.c b/src/messages-service.c index 7cb5060..ca9e799 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -834,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; |