From 18f63963ad625504956f753677927bda0e83d0dc Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 8 Oct 2009 19:07:03 -0400 Subject: Truth. Sucks. --- libindicator/indicator-object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libindicator/indicator-object.c') diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c index d7f18d3..7188a07 100644 --- a/libindicator/indicator-object.c +++ b/libindicator/indicator-object.c @@ -83,7 +83,7 @@ indicator_object_finalize (GObject *object) IndicatorObject * indicator_object_new_from_file (const gchar * file) { - if (file != NULL) { + if (file == NULL) { g_warning("Invalid filename."); return NULL; } -- cgit v1.2.3