aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
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 /addressbook
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 'addressbook')
-rw-r--r--addressbook/ChangeLog10
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c1
-rw-r--r--addressbook/printing/e-contact-print.c8
3 files changed, 10 insertions, 9 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);