summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2010-04-26 11:10:15 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2010-04-26 11:10:15 +0100
commitb18261e0a9f79cad7f29df55bc99b92969dbfc26 (patch)
tree26931cdff8fc72b872ab98e56aca070a4f4d74d7
parent633073274507679e12f62859d0650a32a0c3ace5 (diff)
Slacker: chain up in dispose; remove finalize stub
-rw-r--r--src/slacker.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/slacker.c b/src/slacker.c
index c88132227..253f1842f 100644
--- a/src/slacker.c
+++ b/src/slacker.c
@@ -253,12 +253,8 @@ gabble_slacker_dispose (GObject *object)
dbus_g_connection_unref (priv->bus);
priv->bus = NULL;
}
-}
-static void
-gabble_slacker_finalize (GObject *object)
-{
- /* GabbleSlacker *self = GABBLE_SLACKER (object); */
+ ((GObjectClass *) gabble_slacker_parent_class)->dispose (object);
}
static void
@@ -269,7 +265,6 @@ gabble_slacker_class_init (GabbleSlackerClass *klass)
object_class->constructor = gabble_slacker_constructor;
object_class->constructed = gabble_slacker_constructed;
object_class->dispose = gabble_slacker_dispose;
- object_class->finalize = gabble_slacker_finalize;
g_type_class_add_private (klass, sizeof (GabbleSlackerPrivate));