get rid of eye-hurting function signatures :)
authorPaul Mangan <paul@claws-mail.org>
Wed, 30 Apr 2003 13:28:13 +0000 (13:28 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 30 Apr 2003 13:28:13 +0000 (13:28 +0000)
ChangeLog.claws
configure.ac
src/plugins/clamav/clamav_plugin.c
src/plugins/clamav/clamav_plugin_gtk.c
src/plugins/demo/demo.c
src/plugins/dillo_viewer/dillo_viewer.c
src/plugins/image_viewer/plugin.c
src/plugins/mathml_viewer/mathml_viewer.c
src/plugins/spamassassin/spamassassin.c
src/plugins/spamassassin/spamassassin_gtk.c
src/plugins/trayicon/trayicon.c

index 8a943b3ca97a41d0ea03bc5754081a79959fe598..31863a391b7608af6450b7ecc4551c400693bcab 100644 (file)
@@ -1,3 +1,16 @@
+2003-04-30 [paul]      0.8.11claws127
+
+       * src/plugins/clamav/clamav_plugin.c
+         src/plugins/clamav/clamav_plugin_gtk.c
+         src/plugins/demo/demo.c
+         src/plugins/dillo_viewer/dillo_viewer.c
+         src/plugins/image_viewer/plugin.c
+         src/plugins/mathml_viewer/mathml_viewer.c
+         src/plugins/spamassassin/spamassassin.c
+         src/plugins/spamassassin/spamassassin_gtk.c
+         src/plugins/trayicon/trayicon.c
+               get rid of eye-hurting function signatures
+
 2003-04-30 [paul]      0.8.11claws126
 
        * src/plugins/trayicon/trayicon.c
 2003-04-30 [paul]      0.8.11claws126
 
        * src/plugins/trayicon/trayicon.c
index b23cf39ff7202326dde860c8ff04a92906f5a7eb..343e817dca39a9f23a7d7f7a382f624799e1887a 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws126
+EXTRA_VERSION=claws127
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
@@ -412,7 +412,7 @@ if test x"$ac_cv_enable_image_viewer_plugin" = xyes; then
 fi
 AM_CONDITIONAL(BUILD_IMAGE_VIEWER_PLUGIN, test x"$ac_cv_enable_image_viewer_plugin" = xyes)
 if test x"$ac_cv_enable_image_viewer_plugin" = xyes; then
 fi
 AM_CONDITIONAL(BUILD_IMAGE_VIEWER_PLUGIN, test x"$ac_cv_enable_image_viewer_plugin" = xyes)
 if test x"$ac_cv_enable_image_viewer_plugin" = xyes; then
-       PLUGINS="image-viewer $PLUGINS"
+       PLUGINS="image $PLUGINS"
 fi
 
 AC_ARG_ENABLE(dillo-viewer-plugin,
 fi
 
 AC_ARG_ENABLE(dillo-viewer-plugin,
index 8da381d1a301541c4081dbcb56c85bd7a5caf208..eac85ce429e1ed4f44bc9d5b820740655986d4ec 100644 (file)
@@ -242,12 +242,12 @@ void plugin_done()
        debug_print("ClamAV plugin unloaded\n");
 }
 
        debug_print("ClamAV plugin unloaded\n");
 }
 
-const gchar *plugin_name()
+const gchar *plugin_name(void)
 {
        return "Clam AntiVirus";
 }
 
 {
        return "Clam AntiVirus";
 }
 
-const gchar *plugin_desc()
+const gchar *plugin_desc(void)
 {
        return "This plugin uses Clam AntiVirus to scan all message attachments "
               "that are received from a POP account.\n"
 {
        return "This plugin uses Clam AntiVirus to scan all message attachments "
               "that are received from a POP account.\n"
@@ -261,7 +261,7 @@ const gchar *plugin_desc()
               "manually write the plugin configuration.\n";
 }
 
               "manually write the plugin configuration.\n";
 }
 
-const gchar *plugin_type()
+const gchar *plugin_type(void)
 {
        return "Common";
 }
 {
        return "Common";
 }
index 52f35a1297961528519608682b924ad75ce05b1a..1e4af42e032bd2342bbc3386f3877157e3bbdfb2 100644 (file)
@@ -248,12 +248,12 @@ void plugin_done()
        debug_print("ClamAV GTK plugin unloaded\n");
 }
 
        debug_print("ClamAV GTK plugin unloaded\n");
 }
 
-const gchar *plugin_name()
+const gchar *plugin_name(void)
 {
        return "Clam AntiVirus GTK";
 }
 
 {
        return "Clam AntiVirus GTK";
 }
 
-const gchar *plugin_desc()
+const gchar *plugin_desc(void)
 {
        return "This plugin provides a Preferences page for the Clam AntiVirus "
               "plugin.\n"
 {
        return "This plugin provides a Preferences page for the Clam AntiVirus "
               "plugin.\n"
@@ -268,7 +268,7 @@ const gchar *plugin_desc()
               "and select the folder where infected mail will be saved.\n";
 }
 
               "and select the folder where infected mail will be saved.\n";
 }
 
-const gchar *plugin_type()
+const gchar *plugin_type(void)
 {
        return "GTK";
 }
 {
        return "GTK";
 }
index b59917e4c93786c0df9bbe002faf98f374809e83..72df275a4838eeae31437ca8599f4042110880ba 100644 (file)
@@ -53,12 +53,12 @@ void plugin_done()
        printf("Demo plugin unloaded\n");
 }
 
        printf("Demo plugin unloaded\n");
 }
 
-const gchar *plugin_name()
+const gchar *plugin_name(void)
 {
        return "Demo";
 }
 
 {
        return "Demo";
 }
 
-const gchar *plugin_desc()
+const gchar *plugin_desc(void)
 {
        return "This Plugin is only a demo of how to write plugins for Sylpheed. "
               "It installs a hook for new log output and writes it to stdout."
 {
        return "This Plugin is only a demo of how to write plugins for Sylpheed. "
               "It installs a hook for new log output and writes it to stdout."
@@ -66,7 +66,7 @@ const gchar *plugin_desc()
               "It is not really usefull";
 }
 
               "It is not really usefull";
 }
 
-const gchar *plugin_type()
+const gchar *plugin_type(void)
 {
        return "Common";
 }
 {
        return "Common";
 }
index bd272973f872f7852402d6855dc6696ff3405594..09b5610e845130b329c56bf06b50c916fb814819 100644 (file)
@@ -156,18 +156,18 @@ void plugin_done()
        mimeview_unregister_viewer_factory(&dillo_viewer_factory);
 }
 
        mimeview_unregister_viewer_factory(&dillo_viewer_factory);
 }
 
-const gchar *plugin_name()
+const gchar *plugin_name(void)
 {
        return "Dillo HTML Viewer";
 }
 
 {
        return "Dillo HTML Viewer";
 }
 
-const gchar *plugin_desc()
+const gchar *plugin_desc(void)
 {
        return "This plugin renders HTML mail using the Dillo "
                "web browser.";
 }
 
 {
        return "This plugin renders HTML mail using the Dillo "
                "web browser.";
 }
 
-const gchar *plugin_type()
+const gchar *plugin_type(void)
 {
        return "GTK";
 }
 {
        return "GTK";
 }
index 61754d5324e6f39260cc7360400aeb9bbdb56f3e..728c74ae9711c494b0c76d73e8d7978a5dca7db1 100644 (file)
@@ -35,18 +35,18 @@ void plugin_done()
        image_viewer_prefs_done();
 }
 
        image_viewer_prefs_done();
 }
 
-const gchar *plugin_name()
+const gchar *plugin_name(void)
 {
        return "Image Viewer";
 }
 
 {
        return "Image Viewer";
 }
 
-const gchar *plugin_desc()
+const gchar *plugin_desc(void)
 {
        return "This plugin uses either gdk-pixbuf or imlib to display "
               "attached images.";
 }
 
 {
        return "This plugin uses either gdk-pixbuf or imlib to display "
               "attached images.";
 }
 
-const gchar *plugin_type()
+const gchar *plugin_type(void)
 {
        return "GTK";
 }
 {
        return "GTK";
 }
index 2565c141bd3da8a2d0e6f37f7f5736010464b53c..57f8805400a5bac1e2bc763162b2d3d376ef1464 100644 (file)
@@ -138,18 +138,18 @@ void plugin_done()
        mimeview_unregister_viewer_factory(&mathml_viewer_factory);
 }
 
        mimeview_unregister_viewer_factory(&mathml_viewer_factory);
 }
 
-const gchar *plugin_name()
+const gchar *plugin_name(void)
 {
        return "MathML Viewer";
 }
 
 {
        return "MathML Viewer";
 }
 
-const gchar *plugin_desc()
+const gchar *plugin_desc(void)
 {
        return "This plugin uses the GtkMathView widget to render "
               "MathML attachments (Content-Type: text/mathml)";
 }
 
 {
        return "This plugin uses the GtkMathView widget to render "
               "MathML attachments (Content-Type: text/mathml)";
 }
 
-const gchar *plugin_type()
+const gchar *plugin_type(void)
 {
        return "GTK";
 }
 {
        return "GTK";
 }
index 99bb273bdfc36925056daf1f11c99b646b4f8bf6..4c82d89bb31d9927086620778a1af6e22b539c94 100644 (file)
@@ -214,12 +214,12 @@ void plugin_done()
        debug_print("Spamassassin plugin unloaded\n");
 }
 
        debug_print("Spamassassin plugin unloaded\n");
 }
 
-const gchar *plugin_name()
+const gchar *plugin_name(void)
 {
        return "SpamAssassin";
 }
 
 {
        return "SpamAssassin";
 }
 
-const gchar *plugin_desc()
+const gchar *plugin_desc(void)
 {
        return "This plugin checks all messages that are received from a POP "
               "account for spam using a SpamAssassin server. You will need "
 {
        return "This plugin checks all messages that are received from a POP "
               "account for spam using a SpamAssassin server. You will need "
@@ -234,7 +234,7 @@ const gchar *plugin_desc()
               "manually write the plugin configuration.\n";
 }
 
               "manually write the plugin configuration.\n";
 }
 
-const gchar *plugin_type()
+const gchar *plugin_type(void)
 {
        return "Common";
 }
 {
        return "Common";
 }
index 8e3062b73630d0064ebf50ebf5805663d9e34dd5..07a84e0e1fe009cb98fd35f809f8cea6676ef13b 100644 (file)
@@ -285,12 +285,12 @@ void plugin_done()
        debug_print("SpamAssassin GTK plugin unloaded\n");
 }
 
        debug_print("SpamAssassin GTK plugin unloaded\n");
 }
 
-const gchar *plugin_name()
+const gchar *plugin_name(void)
 {
        return "SpamAssassin GTK";
 }
 
 {
        return "SpamAssassin GTK";
 }
 
-const gchar *plugin_desc()
+const gchar *plugin_desc(void)
 {
        return "This plugin provides a Preferences page for the SpamAssassin "
               "plugin.\n"
 {
        return "This plugin provides a Preferences page for the SpamAssassin "
               "plugin.\n"
@@ -306,7 +306,7 @@ const gchar *plugin_desc()
               "saved.\n";
 }
 
               "saved.\n";
 }
 
-const gchar *plugin_type()
+const gchar *plugin_type(void)
 {
        return "GTK";
 }
 {
        return "GTK";
 }
index 74d706f71c5cf4127e6168ce048c293a51d6b680..2f69c70c8ff13d011e27d11baf321702c7fbf33d 100644 (file)
@@ -135,7 +135,7 @@ int plugin_init(gchar **error)
        }
 
         trayicon = egg_tray_icon_new("Sylpheed-Claws");
        }
 
         trayicon = egg_tray_icon_new("Sylpheed-Claws");
-//        trayicon = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+/*        trayicon = gtk_window_new(GTK_WINDOW_TOPLEVEL); */
        gtk_window_set_default_size(GTK_WINDOW(trayicon), 16, 16);
         gtk_container_set_border_width(GTK_CONTAINER(trayicon), 0);
 
        gtk_window_set_default_size(GTK_WINDOW(trayicon), 16, 16);
         gtk_container_set_border_width(GTK_CONTAINER(trayicon), 0);
 
@@ -174,12 +174,12 @@ void plugin_done()
        hooks_unregister_hook(FOLDER_ITEM_UPDATE_HOOKLIST, hook_id);
 }
 
        hooks_unregister_hook(FOLDER_ITEM_UPDATE_HOOKLIST, hook_id);
 }
 
-const gchar *plugin_name()
+const gchar *plugin_name(void)
 {
        return "Trayicon";
 }
 
 {
        return "Trayicon";
 }
 
-const gchar *plugin_desc()
+const gchar *plugin_desc(void)
 {
        return "This plugin places a mailbox icon in the system tray that "
               "indicates if you have new or unread mail.\n"
 {
        return "This plugin places a mailbox icon in the system tray that "
               "indicates if you have new or unread mail.\n"
@@ -189,7 +189,7 @@ const gchar *plugin_desc()
               "number of messages.";
 }
 
               "number of messages.";
 }
 
-const gchar *plugin_type()
+const gchar *plugin_type(void)
 {
        return "GTK";
 }
 {
        return "GTK";
 }