2013-02-20 [colin] 3.9.0cvs95
[claws.git] / src / plugins / spam_report / spam_report.c
index 593a7c5c6c2a4720e2f848a649cef2ca82b5f807..93e011d6a7048073d1f5eed4127e7afb5e09f067 100644 (file)
@@ -29,7 +29,6 @@
 #include <glib.h>
 #include <glib/gi18n.h>
 #include <gtk/gtk.h>
-#include <gdk/gdkx.h>
 #include "common/claws.h"
 #include "common/version.h"
 #include "main.h"
@@ -342,9 +341,8 @@ gint plugin_init(gchar **error)
                return -1;
 
        spamreport_prefs_init();
-#ifdef HAVE_LIBCURL
+
        curl_global_init(CURL_GLOBAL_DEFAULT);
-#endif
 
        gtk_action_group_add_actions(mainwin->action_group, spamreport_main_menu,
                        1, (gpointer)mainwin);
@@ -371,9 +369,9 @@ gboolean plugin_done(void)
 
        MENUITEM_REMUI_MANAGER(mainwin->ui_manager,mainwin->action_group, "Message/ReportSpam", context_menu_id);
        context_menu_id = 0;
-#ifdef HAVE_LIBCURL
+
        spamreport_prefs_done();
-#endif
+
        return TRUE;
 }