aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--addressbook/ChangeLog10
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c1
-rw-r--r--addressbook/printing/e-contact-print.c8
-rw-r--r--composer/ChangeLog8
-rw-r--r--composer/e-msg-composer-hdrs.c1
-rw-r--r--composer/e-msg-composer.c2
-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
-rw-r--r--plugins/startup-wizard/ChangeLog7
-rw-r--r--plugins/startup-wizard/startup-wizard.c1
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-shell-importer.c2
-rw-r--r--widgets/misc/ChangeLog8
-rw-r--r--widgets/misc/e-calendar-item.c1
-rw-r--r--widgets/misc/e-icon-entry.c1
-rw-r--r--widgets/table/ChangeLog7
-rw-r--r--widgets/table/e-cell-text.c2
23 files changed, 67 insertions, 38 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index f1ec0cc4d9..3e52a8a4c0 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,13 @@
+2007-03-16 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #360240
+
+ * gui/widgets/e-addressbook-view.c (e_contact_print_button):
+ * printing/e-contact-print.c (complete_sequence),
+ (e_contact_build_style), (e_contact_print_response),
+ (e_contact_print_contact_list_dialog_new):
+ Remove unused variables.
+
2007-03-01 Tor Lillqvist <tml@novell.com>
* gui/widgets/e-addressbook-view.c (e_contact_print_button):
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index 630d5c6e48..d8d6c8b5fb 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -1721,7 +1721,6 @@ static void
e_contact_print_button(GtkDialog *dialog, gint response, gpointer data)
{
#ifdef G_OS_UNIX /* Just to get it to build on Win32 */
- GtkWidget *preview;
GtkPrintOperation *print;
GtkPrintSettings *settings;
GtkPageSetup *page_setup;
diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c
index 5377ad00d0..6bbb4ca8fb 100644
--- a/addressbook/printing/e-contact-print.c
+++ b/addressbook/printing/e-contact-print.c
@@ -406,8 +406,6 @@ static void
complete_sequence (EBookView *book_view, EBookViewStatus status, EContactPrintContext *ctxt)
{
GList *contacts = ctxt->contacts;
- cairo_t *cr;
- gdouble page_width = 72 * (ctxt->style->page_width - ctxt->style->left_margin - ctxt->style->right_margin);
ctxt->first_contact = TRUE;
ctxt->character = NULL;
@@ -608,7 +606,6 @@ e_contact_build_style(EContactPrintStyle *style, GtkPrintSettings *config)
{
xmlDocPtr styledoc;
gchar *filename;
- gdouble page_height, page_width;
style->title = g_strdup("");
style->type = E_CONTACT_PRINT_TYPE_CARDS;
@@ -747,10 +744,8 @@ e_contact_print_response(GtkWidget *dialog, gint response_id, gpointer data)
{
#ifdef G_OS_UNIX /* Just to get it to build on Win32 */
GtkPrintSettings *settings;
- GtkPrintOperationResult res;
GtkPaperSize *paper_size;
GtkPageSetup *page_setup;
- GtkPrintPages print_pages;
GList *contact_list = NULL;
EBook *book = NULL;
EBookQuery *query = NULL;
@@ -922,9 +917,6 @@ e_contact_print_contact_list_dialog_new(GList *list)
static void
contact_draw_page (GtkPrintOperation *print, GtkPrintContext *context, gint page_nr, ContactPrintItem *cpi)
{
- EBookView *view;
- EBookViewStatus status;
-
cpi->ctxt->pc = context;
g_object_ref (cpi->ctxt->pc);
cpi->ctxt->pl =gtk_print_context_create_pango_layout (context);
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 11ece56b4d..eb8fc74ef4 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,11 @@
+2007-03-16 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #360240
+
+ * e-msg-composer-hdrs (header_new_recipient):
+ * e-msg-composer.c (e_msg_composer_show_help), (drop_action):
+ Remove unused variables.
+
2007-02-26 Veerapuram Varadhan <vvaradhan@novell.com>
** Fixes #401546
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index d85477c6f3..7be2e385a4 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -589,7 +589,6 @@ static EMsgComposerHdrPair
header_new_recipient (EMsgComposerHdrs *hdrs, const char *name, const char *tip)
{
EMsgComposerHdrPair ret;
- GtkWidget *pixmap;
ret.label = gtk_button_new_with_mnemonic (name);
GTK_OBJECT_UNSET_FLAGS (ret.label, GTK_CAN_FOCUS);
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 6ea9920ea7..44233ff406 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2884,7 +2884,6 @@ static void
e_msg_composer_show_help (EMsgComposer *composer)
{
GError *error = NULL;
- EMsgComposerPrivate *p = composer->priv;
gnome_help_display_desktop (NULL,
"evolution-" BASE_VERSION,
@@ -2986,7 +2985,6 @@ drop_action(EMsgComposer *composer, GdkDragContext *context, guint32 action, Gtk
char *content_type;
int i, success = FALSE, delete = FALSE;
EMsgComposerPrivate *p = composer->priv;
- gboolean is_image;
switch (info) {
case DND_TYPE_MESSAGE_RFC822:
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);
diff --git a/plugins/startup-wizard/ChangeLog b/plugins/startup-wizard/ChangeLog
index 92455b55c6..8f02cae442 100644
--- a/plugins/startup-wizard/ChangeLog
+++ b/plugins/startup-wizard/ChangeLog
@@ -1,3 +1,10 @@
+2007-03-16 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #360240
+
+ * startup-wizard.c (startup_wizard_timezone_page):
+ Remove unused variable.
+
2007-01-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* startup-wizard.c: (startup_wizard_timezone_page),
diff --git a/plugins/startup-wizard/startup-wizard.c b/plugins/startup-wizard/startup-wizard.c
index fd05318674..f3cfb2ac39 100644
--- a/plugins/startup-wizard/startup-wizard.c
+++ b/plugins/startup-wizard/startup-wizard.c
@@ -102,7 +102,6 @@ startup_wizard_timezone_page (EPlugin *ep, EConfigHookItemFactoryData *hook_data
{
ETimezoneDialog *etd;
GtkWidget *page;
- icaltimezone *zone;
etd = e_timezone_dialog_new ();
g_object_set_data (G_OBJECT (hook_data->config), IMPORT_TIMEZONE_DIALOG, etd);
diff --git a/shell/ChangeLog b/shell/ChangeLog
index b766f76d5d..126cdf9948 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,10 @@
+2007-03-16 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #360240
+
+ * e-shell-importer.c (importer_file_page_new):
+ Remove unused variable.
+
2007-03-12 Harish Krishnaswamy <kharish@novell.com>
* e-shell-window-commands.c : Update contributors' list for
diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c
index 347f4edc1e..8b9bb72b13 100644
--- a/shell/e-shell-importer.c
+++ b/shell/e-shell-importer.c
@@ -275,7 +275,7 @@ static ImportDialogFilePage *
importer_file_page_new (ImportData *data)
{
ImportDialogFilePage *page;
- GtkWidget *table, *label, *entry;
+ GtkWidget *table, *label;
int row = 0;
page = g_new0 (ImportDialogFilePage, 1);
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index f9479b5c11..22199488a9 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,11 @@
+2007-03-16 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #360240
+
+ * e-calendar-item.c (e_calendar_item_unrealize):
+ * e-icon-entry.c (e_icon_entry_pack_widget):
+ Remove unused variables.
+
2007-02-12 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #368983 from Ebby Wiselyn
diff --git a/widgets/misc/e-calendar-item.c b/widgets/misc/e-calendar-item.c
index 59eac4f119..0dca636875 100644
--- a/widgets/misc/e-calendar-item.c
+++ b/widgets/misc/e-calendar-item.c
@@ -694,7 +694,6 @@ e_calendar_item_unrealize (GnomeCanvasItem *item)
{
ECalendarItem *calitem;
GdkColormap *colormap;
- gint i;
calitem = E_CALENDAR_ITEM (item);
diff --git a/widgets/misc/e-icon-entry.c b/widgets/misc/e-icon-entry.c
index 28779dcd6e..b048bac0be 100644
--- a/widgets/misc/e-icon-entry.c
+++ b/widgets/misc/e-icon-entry.c
@@ -334,7 +334,6 @@ e_icon_entry_pack_widget (EIconEntry *entry,
gboolean start)
{
EIconEntryPrivate *priv;
- GtkWidget *box;
g_return_if_fail (E_IS_ICON_ENTRY (entry));
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index 2e0c8d03f3..f0c226a1dc 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,3 +1,10 @@
+2007-03-16 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #360240
+
+ * e-cell-text.c (ect_free_color):
+ Remove unused variable.
+
2007-03-01 Kjartan Maraas <kmaraas@gnome.org>
* e-cell-hbox.c: (ecv_new_view), (ecv_kill_view):
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index 8406461b90..ca28e1fbca 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -448,8 +448,6 @@ ect_free_color (gchar *color_spec, GdkColor *color, GdkColormap *colormap)
/* This frees the color. Note we don't free it if it is the special
value. */
if (color != (GdkColor*) 1) {
- gulong pix = color->pixel;
-
gdk_colormap_free_colors (colormap, color, 1);
/* This frees the memory for the GdkColor. */