aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
Diffstat (limited to 'libindicator')
-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 9fc439e..a70a3ec 100644
--- a/libindicator/indicator-object.c
+++ b/libindicator/indicator-object.c
@@ -95,7 +95,7 @@ indicator_object_new_from_file (const gchar * file)
GModule * module = g_module_open(file,
G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL);
- if(module != NULL) {
+ if(module == NULL) {
g_warning("Unable to load module: %s", file);
return NULL;
}