2005-03-20 [thorsten] 1.9.6cvs5
authorThorsten Maerz <torte@netztorte.de>
Sun, 20 Mar 2005 18:52:51 +0000 (18:52 +0000)
committerThorsten Maerz <torte@netztorte.de>
Sun, 20 Mar 2005 18:52:51 +0000 (18:52 +0000)
* src/compose.c
use a more compatible syntax

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/compose.c

index 46557b6..eefd01b 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-20 [thorsten]  1.9.6cvs5
+
+       * src/compose.c
+               use a more compatible syntax
+
 2005-03-20 [thorsten]  1.9.6cvs4
 
        * src/prefs_toolbar.c
index 6f00991..2d604c7 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.382.2.111 -r 1.382.2.112 src/compose.c; ) > 1.9.6cvs2.patchset
 ( cvs diff -u -r 1.49.2.36 -r 1.49.2.37 src/procmime.c; ) > 1.9.6cvs3.patchset
 ( cvs diff -u -r 1.30.2.10 -r 1.30.2.11 src/prefs_toolbar.c; ) > 1.9.6cvs4.patchset
+( cvs diff -u -r 1.382.2.112 -r 1.382.2.113 src/compose.c; ) > 1.9.6cvs5.patchset
index c0e962f..efde26d 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=4
+EXTRA_VERSION=5
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 7086217..7424c73 100644 (file)
@@ -7012,7 +7012,7 @@ static void compose_header_drag_received_cb (GtkWidget            *widget,
         * does not work */
 
        if (!strncmp(email, "mailto:", strlen("mailto:"))) {
-               gchar decoded[strlen(email)];
+               gchar *decoded=g_new(gchar, strlen(email));
                int start = 0;
 
                email += strlen("mailto:");
@@ -7020,6 +7020,7 @@ static void compose_header_drag_received_cb (GtkWidget            *widget,
                gtk_editable_delete_text(entry, 0, -1);
                gtk_editable_insert_text(entry, decoded, strlen(decoded), &start);
                gtk_drag_finish(drag_context, TRUE, FALSE, time);
+               g_free(decoded);
                return;
        }
        gtk_drag_finish(drag_context, TRUE, FALSE, time);