From 5d812173d0e4e12a74bce2ee137d04b0e56db827 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 25 Oct 2010 10:36:27 -0400 Subject: Drop usage of GtkAnchorType. gtk+-3.0 removed it for being "unused". --- calendar/gui/e-day-view.c | 4 ---- calendar/gui/e-week-view.c | 1 - calendar/gui/weekday-picker.c | 1 - 3 files changed, 6 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index aa081ca3d1..758b18d93c 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -1162,7 +1162,6 @@ e_day_view_init (EDayView *day_view) day_view->drag_long_event_item = gnome_canvas_item_new (canvas_group, e_text_get_type (), - "anchor", GTK_ANCHOR_NW, "line_wrap", TRUE, "clip", TRUE, "max_lines", 1, @@ -1242,7 +1241,6 @@ e_day_view_init (EDayView *day_view) day_view->drag_item = gnome_canvas_item_new (canvas_group, e_text_get_type (), - "anchor", GTK_ANCHOR_NW, "line_wrap", TRUE, "clip", TRUE, "editable", TRUE, @@ -4942,7 +4940,6 @@ e_day_view_reshape_long_event (EDayView *day_view, event->canvas_item = gnome_canvas_item_new (GNOME_CANVAS_GROUP (GNOME_CANVAS (day_view->top_canvas)->root), e_text_get_type (), - "anchor", GTK_ANCHOR_NW, "clip", TRUE, "max_lines", 1, "editable", TRUE, @@ -5129,7 +5126,6 @@ e_day_view_reshape_day_event (EDayView *day_view, event->canvas_item = gnome_canvas_item_new (GNOME_CANVAS_GROUP (GNOME_CANVAS (day_view->main_canvas)->root), e_text_get_type (), - "anchor", GTK_ANCHOR_NW, "line_wrap", TRUE, "editable", TRUE, "clip", TRUE, diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 86d5774e46..bb6784d053 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -3200,7 +3200,6 @@ e_week_view_reshape_event_span (EWeekView *week_view, span->text_item = gnome_canvas_item_new (GNOME_CANVAS_GROUP (GNOME_CANVAS (week_view->main_canvas)->root), e_text_get_type (), - "anchor", GTK_ANCHOR_NW, "clip", TRUE, "max_lines", 1, "editable", TRUE, diff --git a/calendar/gui/weekday-picker.c b/calendar/gui/weekday-picker.c index 7586ad2439..490e9feb17 100644 --- a/calendar/gui/weekday-picker.c +++ b/calendar/gui/weekday-picker.c @@ -182,7 +182,6 @@ configure_items (WeekdayPicker *wp) "text", c, "x", (double) (i * box_width) + box_width / 2.0, "y", (double) (1 + PADDING), - "anchor", GTK_ANCHOR_N, NULL); g_free (c); } -- cgit v1.2.3