diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 10 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 1 | ||||
-rw-r--r-- | addressbook/printing/e-contact-print.c | 8 |
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); |