aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html-display.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-03-17 05:13:06 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-03-17 05:13:06 +0800
commit27cf0a5283247ababa414fcf41f7db2ee68f398f (patch)
treed66dff36b766ffe770580af2e96545c3f493c323 /mail/em-format-html-display.c
parent6502f0193735ac99ef9d95c65000168e0d354c5d (diff)
downloadgsoc2013-evolution-27cf0a5283247ababa414fcf41f7db2ee68f398f.tar
gsoc2013-evolution-27cf0a5283247ababa414fcf41f7db2ee68f398f.tar.gz
gsoc2013-evolution-27cf0a5283247ababa414fcf41f7db2ee68f398f.tar.bz2
gsoc2013-evolution-27cf0a5283247ababa414fcf41f7db2ee68f398f.tar.lz
gsoc2013-evolution-27cf0a5283247ababa414fcf41f7db2ee68f398f.tar.xz
gsoc2013-evolution-27cf0a5283247ababa414fcf41f7db2ee68f398f.tar.zst
gsoc2013-evolution-27cf0a5283247ababa414fcf41f7db2ee68f398f.zip
** Fixes bug #360240
2007-03-16 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #360240 * addressbook/gui/widgets/e-addressbook-view.c (e_contact_print_button): * addressbook/printing/e-contact-print.c (complete_sequence), (e_contact_build_style), (e_contact_print_response), (e_contact_print_contact_list_dialog_new): * shell/e-shell-importer.c (importer_file_page_new): * plugins/startup-wizard/startup-wizard.c (startup_wizard_timezone_page): * mail/em-vfolder-rule.c (select_source_with_changed), (get_widget): * mail/em-format-quote.c (emfq_format_source): * mail/mail-ops.c (save_messages_save): * mail/em-format.c (emf_init): * mail/em-format-html-display (em_format_html_get_search_dialog), (em_format_html_display_seearch_with), (ehhd_resize), (efhd_attachment_optional), (efhd_format_optional): * mail/em-folder-view.c (emfv_init): * mail/message-list.c (ml_tree_value_at): * composer/e-msg-composer-hdrs (header_new_recipient): * composer/e-msg-composer.c (e_msg_composer_show_help), (drop_action): * widgets/table/e-cell-text.c (ect_free_color): * widgets/misc/e-calendar-item.c (e_calendar_item_unrealize): * widgets/misc/e-icon-entry.c (e_icon_entry_pack_widget): Remove unused variables. svn path=/trunk/; revision=33315
Diffstat (limited to 'mail/em-format-html-display.c')
-rw-r--r--mail/em-format-html-display.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index 24afd40ba6..0dafa172d0 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -649,7 +649,7 @@ GtkWidget *
em_format_html_get_search_dialog (EMFormatHTMLDisplay *efhd)
{
struct _EMFormatHTMLDisplayPrivate *p = efhd->priv;
- GtkWidget *hbox3, *hbox2, *button3, *button2, *button1, *label1, *alignment, *image1, *label2;
+ GtkWidget *hbox2, *button3, *button2, *label1;
GtkWidget *icon_entry, *clear_button;
p->search_entry_box = gtk_hbox_new (FALSE, 0);
@@ -761,7 +761,6 @@ em_format_html_display_search_with (EMFormatHTMLDisplay *efhd, char *word)
struct _EMFormatHTMLDisplayPrivate *p = efhd->priv;
if (p->search_dialog){
- GtkWidget *toplevel;
gtk_widget_show ( (GtkWidget *)(p->search_dialog));
/* Set the query */
@@ -2447,20 +2446,11 @@ efhd_resize (GtkWidget *w, GtkAllocation *event, EMFormatHTML *efh)
static gboolean
efhd_attachment_optional(EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObject *pobject)
{
- EMFormatHTMLDisplay *efhd = (EMFormatHTMLDisplay *)efh;
- EAttachment *new;
struct _attach_puri *info;
- GtkWidget *hbox, *vbox, *w, *button, *mainbox, *scroll, *label, *img;
- char *simple_type, *tmp, *new_file = NULL;
- const char *file;
- GdkPixbuf *pixbuf, *mini;
+ GtkWidget *hbox, *vbox, *button, *mainbox, *scroll, *label, *img;
AtkObject *a11y;
GtkTextView *view;
GtkTextBuffer *buffer;
- GtkTargetEntry drag_types[] = {
- { NULL, 0, 0 },
- { "text/uri-list", 0, 1 },
- };
/* FIXME: handle default shown case */
d(printf("adding attachment button/content for optional rendering\n"));
@@ -2542,7 +2532,7 @@ efhd_attachment_optional(EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPOb
static void
efhd_format_optional(EMFormat *emf, CamelStream *fstream, CamelMimePart *part, CamelStream *mstream)
{
- char *classid, *text, *html;
+ char *classid, *html;
struct _attach_puri *info;
CamelStream *stream = ((CamelStreamFilter *) fstream)->source;