- for (node = email_list; node != NULL; node = g_slist_next (node)) {
- gchar *recipient = (gchar *) node->data;
-
- if ((recipient) && (strlen (recipient) != 0)) {
-
- if (!is_first_recipient)
- gtk_text_buffer_insert (buffer, start, "\n", -1);
-
- gtk_text_buffer_insert_with_tags (buffer, start, recipient, -1, tag, NULL);
-
- if (node->next != NULL)
- gtk_text_buffer_insert (buffer, start, ";", -1);
- is_first_recipient = FALSE;
+ g_object_set_data (G_OBJECT (tag), "recipient-tag-id", GINT_TO_POINTER (RECIPIENT_TAG_ID));
+ g_object_set_data_full (G_OBJECT (tag), "recipient-id", g_strdup (recipient_id), (GDestroyNotify) g_free);
+
+ for (node = email_list; node != NULL; node = g_slist_next (node)) {
+ gchar *recipient = (gchar *) node->data;
+
+ if ((recipient) && (strlen (recipient) != 0)) {
+
+ if (!is_first_recipient)
+ gtk_text_buffer_insert (buffer, start, "\n", -1);
+
+ gtk_text_buffer_insert_with_tags (buffer, start, recipient, -1, tag, NULL);
+
+ if (node->next != NULL)
+ gtk_text_buffer_insert (buffer, start, ";", -1);
+ is_first_recipient = FALSE;
+ }