From 1c6f2d154e74f908e2c4a137de0233b5faf4f6b6 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 6 Oct 2010 19:26:08 +0200 Subject: Bug #631320 - GtkObject is gone in GTK3 --- calendar/gui/e-week-view-layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/gui/e-week-view-layout.c') diff --git a/calendar/gui/e-week-view-layout.c b/calendar/gui/e-week-view-layout.c index 52db8c19fa..b4b8aaa1b2 100644 --- a/calendar/gui/e-week-view-layout.c +++ b/calendar/gui/e-week-view-layout.c @@ -97,9 +97,9 @@ e_week_view_layout_events (GArray *events, span = &g_array_index (old_spans, EWeekViewEventSpan, span_num); if (span->background_item) - gtk_object_destroy (GTK_OBJECT (span->background_item)); + g_object_run_dispose (G_OBJECT (span->background_item)); if (span->text_item) - gtk_object_destroy (GTK_OBJECT (span->text_item)); + g_object_run_dispose (G_OBJECT (span->text_item)); } g_array_free (old_spans, TRUE); } -- cgit v1.2.3