diff options
author | Cosimo Cecchi <cosimo.cecchi@collabora.co.uk> | 2009-05-15 18:34:59 +0200 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-06-01 17:53:18 +0200 |
commit | ff229c47dcee18e2723aae6f3b5cd513f79ae503 (patch) | |
tree | 34caa68e3c71a94a33e387823a62202b683a3c2b /libempathy/empathy-ft-factory.c | |
parent | 99e69fa352b25ae65d636a2ab464886d1b8f8af1 (diff) |
Use != NULL for pointer checks.
Diffstat (limited to 'libempathy/empathy-ft-factory.c')
-rw-r--r-- | libempathy/empathy-ft-factory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-ft-factory.c b/libempathy/empathy-ft-factory.c index 89ee446fd..fe687d1eb 100644 --- a/libempathy/empathy-ft-factory.c +++ b/libempathy/empathy-ft-factory.c @@ -48,7 +48,7 @@ do_constructor (GType type, { GObject *retval; - if (factory_singleton) { + if (factory_singleton != NULL) { retval = g_object_ref (factory_singleton); } else { retval = G_OBJECT_CLASS (empathy_ft_factory_parent_class)->constructor |