diff audacious/pluginenum.c @ 781:12c47704b4b5 trunk

[svn] Add error reporting for many places, patch by external contributor Derek Pomery (nemo @ #audacious). Additional cleanups too.
author nenolod
date Thu, 02 Mar 2006 08:14:36 -0800
parents 0a220c3183b8
children d17d96d91e7d
line wrap: on
line diff
--- a/audacious/pluginenum.c	Thu Mar 02 08:00:29 2006 -0800
+++ b/audacious/pluginenum.c	Thu Mar 02 08:14:36 2006 -0800
@@ -32,6 +32,7 @@
 
 #include "controlsocket.h"
 #include "main.h"
+#include "mainwin.h"
 #include "playback.h"
 #include "playlist.h"
 #include "util.h"
@@ -251,9 +252,7 @@
     gint dirsel = 0, i = 0;
 
     if (!g_module_supported()) {
-        /* FIXME: We should open an error dialog for this. BMP is
-           practically useless without plugins */
-        g_warning("Module loading not supported! Plugins will not be loaded.");
+        report_error("Module loading not supported! Plugins will not be loaded.\n");
         return;
     }