aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
parent6502f0193735ac99ef9d95c65000168e0d354c5d (diff)
downloadgsoc2013-evolution-27cf0a5283247ababa414fcf41f7db2ee68f398f.tar.gz
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')
-rw-r--r--mail/ChangeLog15
-rw-r--r--mail/em-folder-view.c1
-rw-r--r--mail/em-format-html-display.c16
-rw-r--r--mail/em-format-quote.c1
-rw-r--r--mail/em-format.c1
-rw-r--r--mail/em-vfolder-rule.c2
-rw-r--r--mail/mail-ops.c2
-rw-r--r--mail/message-list.c1
8 files changed, 19 insertions, 20 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index eed55ebde3..9260dcf6c4 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,18 @@
+2007-03-16 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #360240
+
+ * em-vfolder-rule.c (select_source_with_changed), (get_widget):
+ * em-format-quote.c (emfq_format_source):
+ * mail-ops.c (save_messages_save):
+ * em-format.c (emf_init):
+ * em-format-html-display (em_format_html_get_search_dialog),
+ (em_format_html_display_seearch_with), (ehhd_resize),
+ (efhd_attachment_optional), (efhd_format_optional):
+ * em-folder-view.c (emfv_init):
+ * message-list.c (ml_tree_value_at):
+ Remove unused variables.
+
2007-03-12 Harish Krishnaswamy <kharish@novell.com>
*default/C : Update Welcome mail.
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 58ccac418b..62c0d29da6 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -188,7 +188,6 @@ emfv_init(GObject *o)
EMFolderView *emfv = (EMFolderView *)o;
struct _EMFolderViewPrivate *p;
extern CamelSession *session;
- GtkWidget *search_bar;
gtk_box_set_homogeneous (GTK_BOX (emfv), FALSE);
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;
diff --git a/mail/em-format-quote.c b/mail/em-format-quote.c
index b3de8a33ba..282fc113b4 100644
--- a/mail/em-format-quote.c
+++ b/mail/em-format-quote.c
@@ -402,7 +402,6 @@ emfq_format_source(EMFormat *emf, CamelStream *stream, CamelMimePart *part)
{
CamelStreamFilter *filtered_stream;
CamelMimeFilter *html_filter;
- CamelDataWrapper *dw = (CamelDataWrapper *)part;
filtered_stream = camel_stream_filter_new_with_stream ((CamelStream *) stream);
html_filter = camel_mime_filter_tohtml_new (CAMEL_MIME_FILTER_TOHTML_CONVERT_NL
diff --git a/mail/em-format.c b/mail/em-format.c
index 5aac03b63a..54729c2303 100644
--- a/mail/em-format.c
+++ b/mail/em-format.c
@@ -118,7 +118,6 @@ static void
emf_init(GObject *o)
{
EMFormat *emf = (EMFormat *)o;
- char * asize;
emf->inline_table = g_hash_table_new(g_str_hash, g_str_equal);
emf->composer = FALSE;
diff --git a/mail/em-vfolder-rule.c b/mail/em-vfolder-rule.c
index 848d6dc5c5..19510f389a 100644
--- a/mail/em-vfolder-rule.c
+++ b/mail/em-vfolder-rule.c
@@ -415,7 +415,6 @@ select_source_with_changed(GtkWidget *widget, struct _source_data *data)
{
em_vfolder_rule_with_t with;
GList *group = NULL;
- gboolean sensitive = FALSE;
gint i = 0;
if ( !gtk_toggle_button_get_active (widget) )
@@ -614,7 +613,6 @@ get_widget(FilterRule *fr, RuleContext *rc)
GtkWidget *widget, *frame, *list;
struct _source_data *data;
GtkRadioButton *rb;
- GList *group;
const char *source;
GtkTreeIter iter;
GladeXML *gui;
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 1c3411d645..71e1bfedc9 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -1983,7 +1983,7 @@ save_messages_save (struct _mail_msg *mm)
CamelStreamFilter *filtered_stream;
CamelMimeFilterFrom *from_filter;
CamelStream *stream;
- int fd, i;
+ int i;
char *from;
stream = camel_stream_vfs_new_with_uri (m->path, O_WRONLY | O_CREAT | O_TRUNC, 0666);
diff --git a/mail/message-list.c b/mail/message-list.c
index 7705a90b5b..55a840ad80 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1402,7 +1402,6 @@ ml_tree_value_at (ETreeModel *etm, ETreePath path, int col, void *model_data)
}
case COL_MIXED_RECIPIENTS:
case COL_RECIPIENTS:{
- char **sender_name;
str = camel_message_info_to (msg_info);
return sanitize_recipients(str);