From 79741ccd3f90c4c8aab672b508606d63c3899584 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 7 Jan 2010 14:44:46 -0500 Subject: BugĀ 606250 - Remove usage of deprecated GTK+ symbols MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Several GtkWidget macros were recently deprecated. --- calendar/gui/e-calendar-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/e-calendar-view.c') diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index b699c84bc4..2bfa0918c3 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -1260,7 +1260,7 @@ e_calendar_view_new_appointment_for (ECalendarView *cal_view, g_return_if_fail (E_IS_CALENDAR_VIEW (cal_view)); parent = gtk_widget_get_toplevel (GTK_WIDGET (cal_view)); - parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; + parent = gtk_widget_is_toplevel (parent) ? parent : NULL; priv = cal_view->priv; -- cgit