telepathy-glib: future-account: constructed should chain_up first

Jonny Lamb jonny at kemper.freedesktop.org
Thu May 10 07:41:20 PDT 2012


Module: telepathy-glib
Branch: master
Commit: 9829e860a57cf7e9bf83e91f0a7653ca69025bfe
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=9829e860a57cf7e9bf83e91f0a7653ca69025bfe

Author: Jonny Lamb <jonny.lamb at collabora.co.uk>
Date:   Thu May  3 15:02:57 2012 +0100

future-account: constructed should chain_up first

Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>

---

 telepathy-glib/future-account.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/telepathy-glib/future-account.c b/telepathy-glib/future-account.c
index 42ae584..2f18d70 100644
--- a/telepathy-glib/future-account.c
+++ b/telepathy-glib/future-account.c
@@ -161,13 +161,13 @@ tp_future_account_constructed (GObject *object)
   void (*chain_up) (GObject *) =
     ((GObjectClass *) tp_future_account_parent_class)->constructed;
 
+  if (chain_up != NULL)
+    chain_up (object);
+
   priv->parameters = g_hash_table_new_full (g_str_hash, g_str_equal,
       g_free, (GDestroyNotify) tp_g_value_slice_free);
 
   priv->properties = tp_asv_new (NULL, NULL);
-
-  if (chain_up != NULL)
-    chain_up (object);
 }
 
 #define GET_PRESENCE_VALUE(key, offset, type) \



More information about the telepathy-commits mailing list