Fix compiler warnings.

This commit is contained in:
Matthew Barnes
2010-05-22 09:49:46 -04:00
parent 8e3af3094e
commit 1896d2aef5
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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;
+2
View File
@@ -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;
-1
View File
@@ -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;