aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-05-22 21:49:46 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-05-22 21:49:46 +0800
commit1896d2aef5ceaa1cbfc0131b42dee2b443b11828 (patch)
tree21b82853ac3e12cc6f02b3aff6dc643cdf62d3bc
parent8e3af3094e48e026cf52c584da50e8b600c4a216 (diff)
downloadgsoc2013-evolution-1896d2aef5ceaa1cbfc0131b42dee2b443b11828.tar
gsoc2013-evolution-1896d2aef5ceaa1cbfc0131b42dee2b443b11828.tar.gz
gsoc2013-evolution-1896d2aef5ceaa1cbfc0131b42dee2b443b11828.tar.bz2
gsoc2013-evolution-1896d2aef5ceaa1cbfc0131b42dee2b443b11828.tar.lz
gsoc2013-evolution-1896d2aef5ceaa1cbfc0131b42dee2b443b11828.tar.xz
gsoc2013-evolution-1896d2aef5ceaa1cbfc0131b42dee2b443b11828.tar.zst
gsoc2013-evolution-1896d2aef5ceaa1cbfc0131b42dee2b443b11828.zip
Fix compiler warnings.
-rw-r--r--addressbook/printing/e-contact-print.c2
-rw-r--r--modules/calendar/e-cal-shell-backend.c2
-rw-r--r--widgets/table/e-cell-text.c1
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;