From 654b97f024caf49b4f90e8011c8f59202c562c78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 16 Jun 2011 15:06:40 +0100 Subject: Trivial documentation fix The property name is 'icon-desc', not 'icon-description' --- src/app-indicator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/app-indicator.c b/src/app-indicator.c index cc785ca..a828113 100644 --- a/src/app-indicator.c +++ b/src/app-indicator.c @@ -1765,7 +1765,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) -- cgit v1.2.3 From ea77e8e1f93a64397d73f4c369fd90f76db49f35 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 16 Jun 2011 21:35:50 -0500 Subject: Free name if we get it --- src/app-indicator.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/app-indicator.c b/src/app-indicator.c index a828113..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 -- cgit v1.2.3