2005-02-12 [paul] 1.0.1cvs4.5
authorPaul Mangan <paul@claws-mail.org>
Sat, 12 Feb 2005 14:32:03 +0000 (14:32 +0000)
committerPaul Mangan <paul@claws-mail.org>
Sat, 12 Feb 2005 14:32:03 +0000 (14:32 +0000)
* src/textview.c
remove unnecessary code (thanks to Alfons)

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

index 8524166..abc3a7d 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-12 [paul]      1.0.1cvs4.5
+
+       * src/textview.c
+               remove unnecessary code (thanks to Alfons)
+
 2005-02-12 [paul]      1.0.1cvs4.4
 
        * src/textview.c
index 05c04b8..0153a22 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.6.2.3 -r 1.6.2.4 po/Makefile.in.in; ) > 1.0.1cvs4.2.patchset
 ( cvs diff -u -r 1.382.2.98 -r 1.382.2.99 src/compose.c; ) > 1.0.1cvs4.3.patchset
 ( cvs diff -u -r 1.96.2.44 -r 1.96.2.45 src/textview.c; ) > 1.0.1cvs4.4.patchset
+( cvs diff -u -r 1.96.2.45 -r 1.96.2.46 src/textview.c; ) > 1.0.1cvs4.5.patchset
index f061aed..0e17dd2 100644 (file)
@@ -13,7 +13,7 @@ INTERFACE_AGE=0
 BINARY_AGE=0
 EXTRA_VERSION=4
 EXTRA_RELEASE=
-EXTRA_GTK2_VERSION=.4
+EXTRA_GTK2_VERSION=.5
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}${EXTRA_RELEASE}${EXTRA_GTK2_VERSION}
index 5dfa78c..c5356b5 100644 (file)
@@ -2205,18 +2205,13 @@ static void mail_to_uri_cb (TextView *textview, guint action, void *data)
 
 static void copy_mail_to_uri_cb        (TextView *textview, guint action, void *data)
 {
-       gchar *fromaddress;
        RemoteURI *uri = g_object_get_data(G_OBJECT(textview->mail_popup_menu),
                                           "menu_button");
        if (uri == NULL)
                return;
 
-       fromaddress = g_strdup(uri->uri + 7);
-       
-       gtk_clipboard_set_text(gtk_clipboard_get(GDK_NONE), fromaddress, -1);
+       gtk_clipboard_set_text(gtk_clipboard_get(GDK_NONE), uri->uri + 7, -1);
        g_object_set_data(G_OBJECT(textview->mail_popup_menu), "menu_button",
                          NULL);
-
-       g_free(fromaddress);
 }