aboutsummaryrefslogtreecommitdiff
path: root/src/app-menu-item.c
diff options
context:
space:
mode:
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;
}