Revert also commit on plugin
authorJulien Lavergne <gilir@ubuntu.com>
Fri, 13 May 2011 07:47:59 +0000 (09:47 +0200)
committerJulien Lavergne <gilir@ubuntu.com>
Fri, 13 May 2011 07:47:59 +0000 (09:47 +0200)
src/plugin.c

index 594ad1a..cf123e1 100644 (file)
@@ -46,7 +46,7 @@ void plugins_init(GtkBuilder* builder)
     const char* name = NULL;
     if(!dir)
         return;
-    while(name == g_dir_read_name(dir))
+    while(name = g_dir_read_name(dir))
     {
         if(g_str_has_suffix(name, ".so"))
         {