0.8.8claws26
[claws.git] / src / plugins / demo / demo.c
index 2636a840f93894de47222947432523ee539b4a43..fd4665593124d2c2eeddbdc08bccea594373b76c 100644 (file)
@@ -22,9 +22,6 @@
 #include "hooks.h"
 #include "log.h"
 
-gchar *plugin_name = "Dummy plugin";
-gchar *plugin_desc = "Plugin that does nothing and never loads";
-
 gboolean my_log_hook(gpointer source, gpointer data)
 {
        LogText *logtext = (LogText *)source;
@@ -55,3 +52,13 @@ void plugin_done()
 
        printf("Demo plugin unloaded\n");
 }
+
+const gchar *plugin_name()
+{
+       return "Dummy plugin";
+}
+
+const gchar *plugin_desc()
+{
+       return "Plugin that does nothing and never loads";
+}