diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2007-06-03 10:54:32 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-06-03 10:54:32 +0800 |
commit | 13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c (patch) | |
tree | 4b07162d272ac9568afaa2d00b0d618aa44edbe3 /mail/em-folder-view.c | |
parent | bdb60ce109c1a2958c89bb07b599407d26a2cf4f (diff) | |
download | gsoc2013-evolution-13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c.tar.gz gsoc2013-evolution-13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c.tar.zst gsoc2013-evolution-13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c.zip |
Fix compilation warnings in mail folder (#437935).
svn path=/trunk/; revision=33628
Diffstat (limited to 'mail/em-folder-view.c')
-rw-r--r-- | mail/em-folder-view.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c index fa162af44d..21233bd623 100644 --- a/mail/em-folder-view.c +++ b/mail/em-folder-view.c @@ -720,7 +720,7 @@ emfv_selection_get(GtkWidget *widget, GtkSelectionData *data, guint info, guint if (p->selection_uri == NULL) return; - gtk_selection_data_set(data, data->target, 8, p->selection_uri, strlen(p->selection_uri)); + gtk_selection_data_set(data, data->target, 8, (unsigned char *)p->selection_uri, strlen(p->selection_uri)); } static void @@ -961,7 +961,7 @@ emfv_popup_delete(EPopup *ep, EPopupItem *pitem, void *data) for (count=0; count < uids->len; count++) { if (camel_folder_get_message_flags (emfv->folder, uids->pdata[count]) & CAMEL_MESSAGE_USER_NOT_DELETABLE) { - if ((EMFormatHTML *)emfv->preview_active) { + if (emfv->preview_active) { GtkHTMLStream *hstream = gtk_html_begin(((EMFormatHTML *)emfv->preview)->html); gtk_html_stream_printf(hstream, "<h2>%s</h2><p>%s</p>", @@ -1514,7 +1514,7 @@ static void emfv_message_reply(EMFolderView *emfv, int mode) { char *html; - guint len; + gint len; if (emfv->list->cursor_uid == NULL) return; @@ -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 = g_strdup_printf (_("Click to hide/unhide addresses"), url); + nice_url = _("Click to hide/unhide addresses"); } else nice_url = g_strdup_printf (_("Click to open %s"), url); } |