aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-06-05 23:46:42 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-06-05 23:46:42 +0800
commit9f80fde296fcefa0833a13d2a2cb2d18b01694f4 (patch)
treee5017c85277603b8fb32706903981e50e2433fc5
parentcebe334f240a14137149b0ab5fee52ddd16cb464 (diff)
downloadgsoc2013-evolution-9f80fde296fcefa0833a13d2a2cb2d18b01694f4.tar.gz
gsoc2013-evolution-9f80fde296fcefa0833a13d2a2cb2d18b01694f4.tar.zst
gsoc2013-evolution-9f80fde296fcefa0833a13d2a2cb2d18b01694f4.zip
Duplicate a translated string since we free it later.
2007-06-05 Matthew Barnes <mbarnes@redhat.com> * em-folder-view.c (emfv_on_url_cb): Duplicate a translated string since we free it later. svn path=/trunk/; revision=33657
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-folder-view.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index dc32352e8d..6b7948625e 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-05 Matthew Barnes <mbarnes@redhat.com>
+
+ * em-folder-view.c (emfv_on_url_cb):
+ Duplicate a translated string since we free it later.
+
2007-06-05 Daniel Nylander <po@danielnylander.se>
* default/Makefile.am: Added sv to SUBDIRS
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 21233bd623..af075dd436 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -2929,7 +2929,7 @@ emfv_on_url_cb (GObject *emitter, const char *url, EMFolderView *emfv)
camel_url_free(curl);
camel_object_unref(cia);
} else if (!strncmp (url, "##", 2)) {
- nice_url = _("Click to hide/unhide addresses");
+ nice_url = g_strdup (_("Click to hide/unhide addresses"));
} else
nice_url = g_strdup_printf (_("Click to open %s"), url);
}