Fixed some more compilation warnings.
authorSergey Vlasov <vsu@users.sourceforge.net>
Sun, 13 May 2001 14:32:01 +0000 (14:32 +0000)
committerSergey Vlasov <vsu@users.sourceforge.net>
Sun, 13 May 2001 14:32:01 +0000 (14:32 +0000)
ChangeLog.claws
src/alertpanel.c
src/main.c

index 42423c0..6200088 100644 (file)
@@ -1,3 +1,9 @@
+2001-05-13 [sergey]
+
+       * src/main.c: include rfc2015.h to avoid compiler warnings.
+       * src/alertpanel.c (alertpanel_message_with_disable): return 0 if
+       the panel is already on screen.
+
 2001-03-13 [alfons]
 
        0.4.67claws3
index ca6f06d..9c4b31a 100644 (file)
@@ -95,7 +95,7 @@ AlertValue alertpanel_message_with_disable(const gchar        *title,
                                           const gchar  *message)
 {
        if (alertpanel_is_open)
-               return;
+               return 0;
        else
                alertpanel_is_open = TRUE;
 
index 7173d11..8c91b73 100644 (file)
 #include "utils.h"
 #include "gtkutils.h"
 
+#if USE_GPGME
+#include "rfc2015.h"
+#endif /* USE_GPGME */
+
 gchar *prog_version;
 gchar *startup_dir;
 gboolean debug_mode = FALSE;