aboutsummaryrefslogtreecommitdiff
path: root/src/app-section.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-08-21 00:54:03 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-08-21 00:54:03 -0500
commit19f5fdbb523167af107267c2bb28a810b5a548a2 (patch)
treef3f6f0f845c540362b4b579ee5d0547419f2a898 /src/app-section.c
parent1f621cbbbfe9bc65f4fbce2ff2bb57ef8badad82 (diff)
downloadayatana-indicator-messages-19f5fdbb523167af107267c2bb28a810b5a548a2.tar.gz
ayatana-indicator-messages-19f5fdbb523167af107267c2bb28a810b5a548a2.tar.bz2
ayatana-indicator-messages-19f5fdbb523167af107267c2bb28a810b5a548a2.zip
in app-section's app_section_set_app_info(), don't leak the nicks' actions
Diffstat (limited to 'src/app-section.c')
-rw-r--r--src/app-section.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app-section.c b/src/app-section.c
index 4cccb6c..fcb75d9 100644
--- a/src/app-section.c
+++ b/src/app-section.c
@@ -352,6 +352,7 @@ app_section_set_app_info (AppSection *self,
action = g_simple_action_new (nicks[i], NULL);
g_signal_connect(action, "activate", G_CALLBACK (nick_activate_cb), self);
g_simple_action_group_insert (priv->static_shortcuts, G_ACTION (action));
+ g_object_unref (action);
g_menu_append (priv->menu, name, nicks[i]);