aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcody <cody@raconteur>2009-04-13 11:02:06 -0400
committercody <cody@raconteur>2009-04-13 11:02:06 -0400
commit6491f50da0a110617cd4d044724a4d19d09b67d3 (patch)
treed484d1a3cd55f6b1d525396562b7462c399b3c43
parentec712ab0b4362db5a72eea82de02e3a8f55489c6 (diff)
downloadayatana-indicator-messages-6491f50da0a110617cd4d044724a4d19d09b67d3.tar.gz
ayatana-indicator-messages-6491f50da0a110617cd4d044724a4d19d09b67d3.tar.bz2
ayatana-indicator-messages-6491f50da0a110617cd4d044724a4d19d09b67d3.zip
move parent->finalize() to the end of the finalize function
-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;
}