[evolution] Fix compiler warnings.



commit 1896d2aef5ceaa1cbfc0131b42dee2b443b11828
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat May 22 09:49:46 2010 -0400

    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 96c9706..eca6522 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 d97ad6f..e1f6823 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 06dde0e..077357c 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]