aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r--mail/em-utils.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index 5b16d0cd7b..8df8499031 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -1790,7 +1790,7 @@ em_utils_selection_get_mailbox(GtkSelectionData *data, CamelFolder *folder)
* @uri:
* @uids:
*
- * Sets a "x-evolution-message" format selection data.
+ * Sets a "x-uid-list" format selection data.
*
* FIXME: be nice if this could take a folder argument rather than uri
**/
@@ -1801,8 +1801,7 @@ em_utils_selection_set_uidlist(GtkSelectionData *data, const char *uri, GPtrArra
int i;
/* format: "uri\0uid1\0uid2\0uid3\0...\0uidn\0" */
- /* NB: original form missed trailing \0 */
-
+
g_byte_array_append(array, uri, strlen(uri)+1);
for (i=0; i<uids->len; i++)
@@ -1818,7 +1817,7 @@ em_utils_selection_set_uidlist(GtkSelectionData *data, const char *uri, GPtrArra
* @urip: Pointer to uri string, to be free'd by caller
* @uidsp: Pointer to an array of uid's.
*
- * Convert an x-evolution-message type to a uri and a uid list.
+ * Convert an x-uid-list type to a uri and a uid list.
*
* Return value: The number of uid's found. If 0, then @urip and
* @uidsp will be empty.