aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index b52ec71b82..921dc34c58 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -41,6 +41,7 @@
#include <camel/camel-folder.h>
#include <camel/camel-folder-thread.h>
#include <camel/camel-vee-folder.h>
+#include <camel/camel-string-utils.h>
#include <libedataserver/e-memory.h>
@@ -4060,7 +4061,7 @@ regen_list_exec (struct _regen_list_msg *m)
on the flag whether we can view deleted messages or not. */
if (!was_deleted || (was_deleted && !m->hidedel))
- g_ptr_array_add (uids, g_strdup (looking_for));
+ g_ptr_array_add (uids, (gpointer) camel_pstring_strdup (looking_for));
}
}
}