diff options
Diffstat (limited to 'libindicator')
-rw-r--r-- | libindicator/indicator-object.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |