aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-02 10:50:46 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-02 10:50:46 +0800
commit84ff048ccc0d4b829019baf3d614a10f3faa61ca (patch)
tree2eeb326de2759f8f4fbef8113aa9cd0a55c7e86e /mail
parent8771a6de3590d468d1a2c3cfab34955c624f614a (diff)
downloadgsoc2013-evolution-84ff048ccc0d4b829019baf3d614a10f3faa61ca.tar
gsoc2013-evolution-84ff048ccc0d4b829019baf3d614a10f3faa61ca.tar.gz
gsoc2013-evolution-84ff048ccc0d4b829019baf3d614a10f3faa61ca.tar.bz2
gsoc2013-evolution-84ff048ccc0d4b829019baf3d614a10f3faa61ca.tar.lz
gsoc2013-evolution-84ff048ccc0d4b829019baf3d614a10f3faa61ca.tar.xz
gsoc2013-evolution-84ff048ccc0d4b829019baf3d614a10f3faa61ca.tar.zst
gsoc2013-evolution-84ff048ccc0d4b829019baf3d614a10f3faa61ca.zip
Fix more compiler warnings.
Diffstat (limited to 'mail')
-rw-r--r--mail/em-folder-view.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 466dc34a63..f762e2ee39 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -2506,33 +2506,6 @@ emfv_list_done_message_selected(CamelFolder *folder, const gchar *uid, CamelMime
static gboolean
-emfv_spin(EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObject *pobject)
-{
- GtkWidget *ep;
-
- if (!strcmp(eb->classid, "spinner")) {
- GtkWidget *box, *label;
- gchar *msg = g_strdup_printf("<b>%s</b>", _("Retrieving Message..."));
-
- label = gtk_label_new (NULL);
- gtk_label_set_markup ((GtkLabel *)label, msg);
- box = gtk_hbox_new (FALSE, 0);
- g_free (msg);
-
- ep = e_spinner_new_spinning_small_shown ();
- gtk_box_pack_start ((GtkBox *)box, ep, FALSE, FALSE, 0);
- gtk_box_pack_start ((GtkBox *)box, label, FALSE, FALSE, 0);
-
- gtk_container_add ((GtkContainer *)eb, box);
- gtk_widget_show_all ((GtkWidget *)eb);
-
- g_signal_handlers_disconnect_by_func(efh, emfv_spin, NULL);
- }
-
- return TRUE;
-}
-
-static gboolean
emfv_message_selected_timeout(gpointer data)
{
EMFolderView *emfv = data;
@@ -2547,15 +2520,6 @@ emfv_message_selected_timeout(gpointer data)
g_object_ref (emfv);
/* TODO: we should manage our own thread stuff, would make cancelling outstanding stuff easier */
e_profile_event_emit("goto.load", emfv->displayed_uid, 0);
-/* hstream = gtk_html_begin(((EMFormatHTML *)emfv->preview)->html);
-
- g_signal_connect(((EMFormatHTML *)emfv->preview)->html, "object_requested", G_CALLBACK(emfv_spin), NULL);
-
- gtk_html_stream_printf(hstream, "<object classid=\"spinner\"><h2>%s</h2><p>%s</p></object>",
- _("Retrieving Message"),
- emfv->displayed_uid);
- gtk_html_stream_close(hstream, GTK_HTML_STREAM_OK);
-*/
mail_get_messagex(emfv->folder, emfv->displayed_uid, emfv_list_done_message_selected, emfv, mail_msg_fast_ordered_push);
} else {
e_profile_event_emit("goto.empty", "", 0);