summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-02-15 13:39:30 +0000
committerCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-02-15 15:28:04 +0000
commitec89191ac11d109063d864acfcca52408bd112c1 (patch)
tree02b65485dd53913cbcd865bf7a3ee72e5248dff3
parent598b7a622e65341e002a7bb9b2999d36f3d589d1 (diff)
G_DEFINE_TYPE should be used before any other func declaration
-rw-r--r--telepathy-logger/channel-text.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/telepathy-logger/channel-text.c b/telepathy-logger/channel-text.c
index 62f0a177f..8ef9b4f1e 100644
--- a/telepathy-logger/channel-text.c
+++ b/telepathy-logger/channel-text.c
@@ -91,8 +91,7 @@ static void pendingproc_get_remote_handle_type (TplActionChain *ctx);
static void keepon_on_receiving_signal (TplLogEntryText *log);
-/* retrieve contacts (me and remote buddy/chatroom) and set TplChannelText
- * members */
+G_DEFINE_TYPE (TplChannelText, tpl_channel_text, TPL_TYPE_CHANNEL)
/* used by _get_my_contact and _get_remote_contact */
@@ -239,8 +238,6 @@ pendingproc_get_remote_handle_type (TplActionChain *ctx)
/* end of async Callbacks */
-G_DEFINE_TYPE (TplChannelText, tpl_channel_text, TPL_TYPE_CHANNEL)
-
static void
tpl_channel_text_dispose (GObject *obj)
{