summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-03-17 18:43:33 +0000
committerCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-03-23 18:11:30 +0000
commitbd7da9aa7ce8d1c2fe6bb190096128ef821e866a (patch)
tree0d862081fb4467946c6538686fa44e5367833acb
parent2b1863d2269324d7ecdc8249543d7b4ebb474b98 (diff)
channel.c: typo prefixing tpl_observer instead of tpl_channel
Also removes a usless finalize()
-rw-r--r--telepathy-logger/channel.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/telepathy-logger/channel.c b/telepathy-logger/channel.c
index 255957ed2..df5a7f65b 100644
--- a/telepathy-logger/channel.c
+++ b/telepathy-logger/channel.c
@@ -65,7 +65,7 @@ enum
};
static void
-tpl_observer_get_property (GObject *object,
+tpl_channel_get_property (GObject *object,
guint param_id,
GValue *value,
GParamSpec *pspec)
@@ -84,7 +84,7 @@ tpl_observer_get_property (GObject *object,
}
static void
-tpl_observer_set_property (GObject *object,
+tpl_channel_set_property (GObject *object,
guint param_id,
const GValue *value,
GParamSpec *pspec)
@@ -115,12 +115,6 @@ tpl_channel_dispose (GObject *obj)
G_OBJECT_CLASS (tpl_channel_parent_class)->dispose (obj);
}
-static void
-tpl_channel_finalize (GObject *obj)
-{
- G_OBJECT_CLASS (tpl_channel_parent_class)->finalize (obj);
-}
-
static void
tpl_channel_class_init (TplChannelClass *klass)
@@ -129,9 +123,8 @@ tpl_channel_class_init (TplChannelClass *klass)
GParamSpec *param_spec;
object_class->dispose = tpl_channel_dispose;
- object_class->finalize = tpl_channel_finalize;
- object_class->get_property = tpl_observer_get_property;
- object_class->set_property = tpl_observer_set_property;
+ object_class->get_property = tpl_channel_get_property;
+ object_class->set_property = tpl_channel_set_property;
klass->call_when_ready_protected = call_when_ready_protected;