diff options
author | Benjamin Otte <otte@redhat.com> | 2010-10-22 19:39:38 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-30 01:50:05 +0800 |
commit | 032a2a9c063f92c16cebf98c6fd628186593596d (patch) | |
tree | b2baddd9353130981d18e4e692f0f7d3e582a1e6 | |
parent | d262e26a02d3e1cc8477a30cff7288c7073b80ed (diff) | |
download | gsoc2013-evolution-032a2a9c063f92c16cebf98c6fd628186593596d.tar gsoc2013-evolution-032a2a9c063f92c16cebf98c6fd628186593596d.tar.gz gsoc2013-evolution-032a2a9c063f92c16cebf98c6fd628186593596d.tar.bz2 gsoc2013-evolution-032a2a9c063f92c16cebf98c6fd628186593596d.tar.lz gsoc2013-evolution-032a2a9c063f92c16cebf98c6fd628186593596d.tar.xz gsoc2013-evolution-032a2a9c063f92c16cebf98c6fd628186593596d.tar.zst gsoc2013-evolution-032a2a9c063f92c16cebf98c6fd628186593596d.zip |
calendar: Remove unused variable
-rw-r--r-- | calendar/gui/e-week-view-main-item.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/calendar/gui/e-week-view-main-item.c b/calendar/gui/e-week-view-main-item.c index 32365040af..252aa3c299 100644 --- a/calendar/gui/e-week-view-main-item.c +++ b/calendar/gui/e-week-view-main-item.c @@ -77,7 +77,6 @@ week_view_main_item_draw_day (EWeekViewMainItem *main_item, { EWeekView *week_view; GtkStyle *style; - GdkGC *gc; gint right_edge, bottom_edge, date_width, date_x, line_y; gboolean show_day_name, show_month_name, selected; gchar buffer[128], *format_string; @@ -93,7 +92,6 @@ week_view_main_item_draw_day (EWeekViewMainItem *main_item, week_view = e_week_view_main_item_get_week_view (main_item); style = gtk_widget_get_style (GTK_WIDGET (week_view)); - gc = week_view->main_gc; cr = gdk_cairo_create (drawable); /* Set up Pango prerequisites */ @@ -102,8 +100,6 @@ week_view_main_item_draw_day (EWeekViewMainItem *main_item, font_metrics = pango_context_get_metrics (pango_context, font_desc, pango_context_get_language (pango_context)); - g_return_if_fail (gc != NULL); - day_of_week = gdate_to_cal_weekdays (g_date_get_weekday (date)); month = g_date_get_month (date); day_of_month = g_date_get_day (date); |