aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-08 19:07:03 -0400
committerTed Gould <ted@canonical.com>2009-10-08 19:07:03 -0400
commit18f63963ad625504956f753677927bda0e83d0dc (patch)
treee42fa82552d4637c49b31d1b9cfa7725a8df48c6
parenta65694f2fc7c4c3aa4b955f101617278e4f1c9b4 (diff)
downloadlibayatana-indicator-18f63963ad625504956f753677927bda0e83d0dc.tar.gz
libayatana-indicator-18f63963ad625504956f753677927bda0e83d0dc.tar.bz2
libayatana-indicator-18f63963ad625504956f753677927bda0e83d0dc.zip
Truth. Sucks.
-rw-r--r--libindicator/indicator-object.c2
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;
}