* src/common/hooks.[ch]
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Thu, 17 Jul 2003 14:23:12 +0000 (14:23 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Thu, 17 Jul 2003 14:23:12 +0000 (14:23 +0000)
* src/plugins/clamav/clamav_plugin.c
* src/plugins/spamassassin/spamassassin.c
* src/plugins/trayicon/trayicon.c
fix signedness muck

ChangeLog.claws
configure.ac
src/common/hooks.c
src/common/hooks.h
src/plugins/clamav/clamav_plugin.c
src/plugins/spamassassin/spamassassin.c
src/plugins/trayicon/trayicon.c

index b3afcefe0207654a36f156d336333a838e88911d..58290961660815b5db18d7cb3929208ea27fd1a8 100644 (file)
@@ -1,3 +1,11 @@
+2003-07-17 [alfons]    0.9.3claws19
+
+       * src/common/hooks.[ch]
+       * src/plugins/clamav/clamav_plugin.c
+       * src/plugins/spamassassin/spamassassin.c
+       * src/plugins/trayicon/trayicon.c
+               fix signedness muck 
+
 2003-07-17 [alfons]    0.9.3claws18
 
        * src/procmime.c
index 1c6ccda8ce840b0c335f0431ac0e0fd4c03ca7f0..650118e637dd6686a06026a22b3b45c31235bd62 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws18
+EXTRA_VERSION=claws19
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 965137c5d155d1e7808e582eef86af7f055e4469..149141e7813d4e3bb04261e8fe23c9fa0dd40706 100644 (file)
@@ -45,21 +45,21 @@ GHookList *hooks_get_hooklist(gchar *hooklist_name)
        return hooklist;
 }
 
-gint hooks_register_hook(gchar *hooklist_name,
-                        SylpheedHookFunction hook_func,
-                        gpointer userdata)
+guint hooks_register_hook(gchar *hooklist_name,
+                         SylpheedHookFunction hook_func,
+                         gpointer userdata)
 {
        GHookList *hooklist;
        GHook *hook;
 
-       g_return_val_if_fail(hooklist_name != NULL, -1);
-       g_return_val_if_fail(hook_func != NULL, -1);
+       g_return_val_if_fail(hooklist_name != NULL, (guint)-1);
+       g_return_val_if_fail(hook_func != NULL, (guint)-1);
        
        hooklist = hooks_get_hooklist(hooklist_name);
-       g_return_val_if_fail(hooklist != NULL, -1);
+       g_return_val_if_fail(hooklist != NULL, (guint)-1);
 
        hook = g_hook_alloc(hooklist);
-       g_return_val_if_fail(hook != NULL, -1);
+       g_return_val_if_fail(hook != NULL, (guint)-1);
 
        hook->func = hook_func;
        hook->data = userdata;
index ecdb23e8dbdc60bcc0d2ad566d184f6371a8f016..47a114090fcc540c6e90b94222e8efe6bf82a085 100644 (file)
@@ -25,7 +25,7 @@
 typedef gboolean (*SylpheedHookFunction)       (gpointer source,
                                                 gpointer userdata);
 
-gint hooks_register_hook       (gchar                  *hooklist_name,
+guint hooks_register_hook      (gchar                  *hooklist_name,
                                 SylpheedHookFunction    hook_func,
                                 gpointer                userdata);
 void hooks_unregister_hook     (gchar                  *hooklist_name,
index c6ee1d5c7e224f9fc17045d5a718b41defbd63a7..dab82228123f956a21c98c29fa8fbbb2d4b217aa 100644 (file)
@@ -38,7 +38,7 @@
 
 #include "clamav_plugin.h"
 
-static gint hook_id;
+static guint hook_id;
 
 static ClamAvConfig config;
 
index bbea649dee7952eb67b8205a02f65ed85f66a2fd..1da9d8f367359c9a1aec07c4d9f4d26738fcd695 100644 (file)
@@ -63,7 +63,7 @@
 #include <pwd.h>
 #endif
 
-static gint hook_id;
+static guint hook_id;
 static int flags = SPAMC_RAW_MODE | SPAMC_SAFE_FALLBACK | SPAMC_CHECK_ONLY;
 static gchar *username = NULL;
 
index 082e49f9c49a643e62cab7da77cd6332ae4c62fc..e138e9cf4cd73e3fb7d5f1ea1b704e9136fb0c7a 100644 (file)
@@ -35,7 +35,7 @@
 #include "unreadmail.xpm"
 #include "nomail.xpm"
 
-static gint hook_id;
+static guint hook_id;
 
 static GdkPixmap *newmail_pixmap;
 static GdkPixmap *newmail_bitmap;