* src/noticeview.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Mon, 20 Oct 2003 18:15:41 +0000 (18:15 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Mon, 20 Oct 2003 18:15:41 +0000 (18:15 +0000)
fix invalid argument warning
* src/pgpmime.c
no in place variable

ChangeLog.claws
configure.ac
src/noticeview.c
src/pgpmime.c

index 24e474f..5897cd3 100644 (file)
@@ -1,3 +1,10 @@
+2003-10-20 [alfons]    0.9.6claws37
+
+       * src/noticeview.c
+               fix invalid argument warning
+       * src/pgpmime.c
+               no in place variable
+
 2003-10-20 [paul]      0.9.6claws36
 
        * src/compose.[ch]
index 27e5453..e09b2fd 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=36
+EXTRA_VERSION=37
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index dbf150e..f564865 100644 (file)
@@ -169,5 +169,5 @@ void noticeview_set_icon(NoticeView *noticeview, StockPixmap icon)
        if (stock_pixmap_gdk(noticeview->window, icon, &pixmap, &bitmap) < 0)
                return;
        
-       gtk_pixmap_set(noticeview->icon, pixmap, bitmap);
+       gtk_pixmap_set(GTK_PIXMAP(noticeview->icon), pixmap, bitmap);
 }
index 07a3f7d..8431ace 100644 (file)
 
 #ifdef USE_GPGME
 
+#include "defs.h"
 #include <glib.h>
 #include <gpgme.h>
 
-#include "defs.h"
 #include "utils.h"
 #include "privacy.h"
 #include "procmime.h"
@@ -145,9 +145,10 @@ static gint pgpmime_check_signature(MimeInfo *mimeinfo)
 
        textstr = g_string_new("");
        while (fgets(buf, sizeof(buf), fp) != NULL) {
+               gchar *buf2;
+
                if (IS_BOUNDARY(buf, boundary, boundary_len))
                        break;
-               gchar *buf2;
                
                buf2 = canonicalize_str(buf);
                g_string_append(textstr, buf2);