]> Dogcows Code - chaz/openbox/commitdiff
print a warning when a module fails to open
authorDana Jansens <danakj@orodu.net>
Wed, 26 Mar 2003 01:41:06 +0000 (01:41 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 26 Mar 2003 01:41:06 +0000 (01:41 +0000)
openbox/plugin.c

index 281b1cdec08ea344bc1cd76c3b2bd5754ed3ba17..57d2f2bce7d664ad3d96cf17b445016806c02bc3 100644 (file)
@@ -44,6 +44,7 @@ static Plugin *plugin_new(char *name)
     }
 
     if (p->module == NULL) {
+        g_warning(g_module_error());
         g_free(p);
         return NULL;
     }
This page took 0.023782 seconds and 4 git commands to generate.