aboutsummaryrefslogtreecommitdiff
path: root/src/app-menu-item.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-13 11:25:42 -0500
committerTed Gould <ted@canonical.com>2009-04-13 11:25:42 -0500
commit220d088c20d7b7246ad56dfe14121c740a9e9d9e (patch)
tree7ba5bce32f83e9719de5d492e6fa4f46fade2375 /src/app-menu-item.c
parent1b6bd5594a44af4bfb336ae742b8c3036bb1bb4d (diff)
parentd84f15b0358c213ceba4beebfe9777cc37db8b00 (diff)
downloadayatana-indicator-messages-220d088c20d7b7246ad56dfe14121c740a9e9d9e.tar.gz
ayatana-indicator-messages-220d088c20d7b7246ad56dfe14121c740a9e9d9e.tar.bz2
ayatana-indicator-messages-220d088c20d7b7246ad56dfe14121c740a9e9d9e.zip
* New upstream version
* Patch from Cody Russell to fix LP: #359018 by correctly implementing the finalize functions.
Diffstat (limited to 'src/app-menu-item.c')
-rw-r--r--src/app-menu-item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c
index f6afa02..c769d47 100644
--- a/src/app-menu-item.c
+++ b/src/app-menu-item.c
@@ -125,14 +125,14 @@ app_menu_item_dispose (GObject *object)
static void
app_menu_item_finalize (GObject *object)
{
- G_OBJECT_CLASS (app_menu_item_parent_class)->finalize (object);
-
AppMenuItem * self = APP_MENU_ITEM(object);
AppMenuItemPrivate * priv = APP_MENU_ITEM_GET_PRIVATE(self);
g_signal_handlers_disconnect_by_func(G_OBJECT(priv->listener), G_CALLBACK(indicator_added_cb), self);
g_signal_handlers_disconnect_by_func(G_OBJECT(priv->listener), G_CALLBACK(indicator_removed_cb), self);
+ G_OBJECT_CLASS (app_menu_item_parent_class)->finalize (object);
+
return;
}