aboutsummaryrefslogtreecommitdiff
path: root/src/app-indicator.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-07-07 15:15:20 -0500
committerTed Gould <ted@gould.cx>2011-07-07 15:15:20 -0500
commite3d7177e1ca2181cfe943ea46d2899ccaee07b32 (patch)
treeba57b24f1c39ea13e9eefaa69aee54dd6466c60e /src/app-indicator.c
parent6e9e154652d00e0a685f9efe0f2aa99e7e0f808d (diff)
parentfc03ef7c10bf76edc87af4cc54194fe1bf6e28c2 (diff)
downloadlibayatana-appindicator-e3d7177e1ca2181cfe943ea46d2899ccaee07b32.tar.gz
libayatana-appindicator-e3d7177e1ca2181cfe943ea46d2899ccaee07b32.tar.bz2
libayatana-appindicator-e3d7177e1ca2181cfe943ea46d2899ccaee07b32.zip
* New upstream release.
* Fix a memory leak (LP: #) * Port to libindicator 0.4
Diffstat (limited to 'src/app-indicator.c')
-rw-r--r--src/app-indicator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index cc785ca..bc08eea 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -1235,6 +1235,7 @@ bus_watcher_ready (GObject * obj, GAsyncResult * res, gpointer user_data)
g_object_unref(G_OBJECT(user_data));
return;
}
+ g_free(name);
/* g_object_unref(G_OBJECT(user_data)); */
/* Why is this commented out? Oh, wait, we don't want to
@@ -1765,7 +1766,7 @@ app_indicator_set_icon (AppIndicator *self, const gchar *icon_name)
application icon for the program.
Wrapper function for property #AppIndicator:icon-name and
- #AppIndicator::icon-description.
+ #AppIndicator::icon-desc.
**/
void
app_indicator_set_icon_full (AppIndicator *self, const gchar *icon_name, const gchar * icon_desc)