diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-12-16 17:43:06 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-02-16 19:42:28 +0800 |
commit | 5f504abee583ca0e8ec6721a5d2e305b59003d04 (patch) | |
tree | 3b7c4c062d07800fb06f5651f3bb519dad064a18 /libempathy | |
parent | b94a66a9ebc4ae1465b65ee4c2dbb76a78745e28 (diff) | |
download | gsoc2013-empathy-5f504abee583ca0e8ec6721a5d2e305b59003d04.tar gsoc2013-empathy-5f504abee583ca0e8ec6721a5d2e305b59003d04.tar.gz gsoc2013-empathy-5f504abee583ca0e8ec6721a5d2e305b59003d04.tar.bz2 gsoc2013-empathy-5f504abee583ca0e8ec6721a5d2e305b59003d04.tar.lz gsoc2013-empathy-5f504abee583ca0e8ec6721a5d2e305b59003d04.tar.xz gsoc2013-empathy-5f504abee583ca0e8ec6721a5d2e305b59003d04.tar.zst gsoc2013-empathy-5f504abee583ca0e8ec6721a5d2e305b59003d04.zip |
fix coding style
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-ft-factory.c | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/libempathy/empathy-ft-factory.c b/libempathy/empathy-ft-factory.c index 7ae9ad100..3443112a3 100644 --- a/libempathy/empathy-ft-factory.c +++ b/libempathy/empathy-ft-factory.c @@ -70,19 +70,22 @@ do_constructor (GType type, guint n_props, GObjectConstructParam *props) { - GObject *retval; + GObject *retval; - if (factory_singleton != NULL) { - retval = g_object_ref (factory_singleton); - } else { - retval = G_OBJECT_CLASS (empathy_ft_factory_parent_class)->constructor - (type, n_props, props); + if (factory_singleton != NULL) + { + retval = g_object_ref (factory_singleton); + } + else + { + retval = G_OBJECT_CLASS (empathy_ft_factory_parent_class)->constructor + (type, n_props, props); - factory_singleton = EMPATHY_FT_FACTORY (retval); - g_object_add_weak_pointer (retval, (gpointer *) &factory_singleton); - } + factory_singleton = EMPATHY_FT_FACTORY (retval); + g_object_add_weak_pointer (retval, (gpointer *) &factory_singleton); + } - return retval; + return retval; } static void |