[empathy/mc5: 191/483] Chain up dispose and remove useless finalize
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5: 191/483] Chain up dispose and remove useless finalize
- Date: Fri, 21 Aug 2009 17:15:28 +0000 (UTC)
commit 5a729c2ae7018c491216eedc93129fa483cab181
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Jul 23 16:22:38 2009 +0200
Chain up dispose and remove useless finalize
src/empathy-accounts-dialog.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index f2b4336..68f140f 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -1262,12 +1262,6 @@ accounts_dialog_build_ui (EmpathyAccountsDialog *dialog)
}
static void
-do_finalize (GObject *obj)
-{
-
-}
-
-static void
do_dispose (GObject *obj)
{
EmpathyAccountsDialog *dialog = EMPATHY_ACCOUNTS_DIALOG (obj);
@@ -1306,6 +1300,8 @@ do_dispose (GObject *obj)
g_object_unref (priv->cms);
priv->cms = NULL;
}
+
+ G_OBJECT_CLASS (empathy_accounts_dialog_parent_class)->dispose (obj);
}
static GObject *
@@ -1457,7 +1453,6 @@ empathy_accounts_dialog_class_init (EmpathyAccountsDialogClass *klass)
GParamSpec *param_spec;
oclass->constructor = do_constructor;
- oclass->finalize = do_finalize;
oclass->dispose = do_dispose;
oclass->constructed = do_constructed;
oclass->set_property = do_set_property;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]