From ff229c47dcee18e2723aae6f3b5cd513f79ae503 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 15 May 2009 18:34:59 +0200 Subject: Use != NULL for pointer checks. --- libempathy/empathy-ft-factory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy/empathy-ft-factory.c') 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 -- cgit v1.2.3