diff options
author | Ted Gould <ted@canonical.com> | 2009-04-13 11:55:36 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-04-13 11:55:36 -0500 |
commit | ff58926771be367ff2fcbfcb5bc783dab5f00a96 (patch) | |
tree | fad5b8daf097e605bea9aeac6f2b0a04287b60bf /src | |
parent | a4225624390433acfcfbd6695dd5ea92c0412087 (diff) | |
parent | d84f15b0358c213ceba4beebfe9777cc37db8b00 (diff) | |
download | ayatana-indicator-messages-ff58926771be367ff2fcbfcb5bc783dab5f00a96.tar.gz ayatana-indicator-messages-ff58926771be367ff2fcbfcb5bc783dab5f00a96.tar.bz2 ayatana-indicator-messages-ff58926771be367ff2fcbfcb5bc783dab5f00a96.zip |
Fixes to the finalize function.
Diffstat (limited to 'src')
-rw-r--r-- | src/app-menu-item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c index 4af0c7f..7854b90 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; } |