aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-ft-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-ft-factory.c')
-rw-r--r--libempathy/empathy-ft-factory.c2
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