From 1896d2aef5ceaa1cbfc0131b42dee2b443b11828 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 22 May 2010 09:49:46 -0400 Subject: Fix compiler warnings. --- addressbook/printing/e-contact-print.c | 2 +- modules/calendar/e-cal-shell-backend.c | 2 ++ widgets/table/e-cell-text.c | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c index 96c97069f1..eca65221be 100644 --- a/addressbook/printing/e-contact-print.c +++ b/addressbook/printing/e-contact-print.c @@ -723,7 +723,7 @@ contact_page_draw_footer (GtkPrintOperation *operation, PangoFontDescription *desc; PangoLayout *layout; gdouble x, y, page_height, page_width, page_margin; - gint n_pages; + /*gint n_pages;*/ gchar *text; cairo_t *cr; GtkPageSetup *setup; diff --git a/modules/calendar/e-cal-shell-backend.c b/modules/calendar/e-cal-shell-backend.c index d97ad6fde0..e1f682357c 100644 --- a/modules/calendar/e-cal-shell-backend.c +++ b/modules/calendar/e-cal-shell-backend.c @@ -130,6 +130,8 @@ cal_shell_backend_ensure_sources (EShellBackend *shell_backend) base_uri[7] = base_uri_seventh; } + name = _("On This Computer"); + if (on_this_computer != NULL) { GSList *sources, *iter; const gchar *group_base_uri; diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c index 06dde0eb01..077357c5d6 100644 --- a/widgets/table/e-cell-text.c +++ b/widgets/table/e-cell-text.c @@ -1439,7 +1439,6 @@ ect_print_height (ECellView *ecell_view, GtkPrintContext *context, PangoFontDescription *font_des; PangoLayout *layout; ECellText *ect = E_CELL_TEXT(ecell_view->ecell); - ECellTextView *ectView = (ECellTextView *)ecell_view; gchar *string; gdouble text_width = 0.0, text_height = 0.0; gint lines=1; -- cgit v1.2.3