From 27cf0a5283247ababa414fcf41f7db2ee68f398f Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 16 Mar 2007 21:13:06 +0000 Subject: ** Fixes bug #360240 2007-03-16 Matthew Barnes ** 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 --- mail/em-format-html-display.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'mail/em-format-html-display.c') 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; -- cgit v1.2.3