From 79741ccd3f90c4c8aab672b508606d63c3899584 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 7 Jan 2010 14:44:46 -0500 Subject: =?UTF-8?q?Bug=C2=A0606250=20-=20Remove=20usage=20of=20deprecated?= =?UTF-8?q?=20GTK+=20symbols?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Several GtkWidget macros were recently deprecated. --- calendar/gui/gnome-cal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/gui/gnome-cal.c') diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index f4f15d2482..abd6a36532 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1873,7 +1873,7 @@ client_cal_opened_cb (ECal *ecal, ECalendarStatus status, GnomeCalendar *gcal) priv = gcal->priv; parent = gtk_widget_get_toplevel (GTK_WIDGET (gcal)); - parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; + parent = gtk_widget_is_toplevel (parent) ? parent : NULL; source = e_cal_get_source (ecal); state = e_cal_get_load_state (ecal); @@ -2056,7 +2056,7 @@ backend_error_cb (ECal *client, const gchar *message, gpointer data) gcal = GNOME_CALENDAR (data); parent = gtk_widget_get_toplevel (GTK_WIDGET (gcal)); - parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; + parent = gtk_widget_is_toplevel (parent) ? parent : NULL; uristr = get_uri_without_password (e_cal_get_uri (client)); id = g_strdup ("calendar:error-on-loading-the-calendar"); @@ -2091,7 +2091,7 @@ backend_died_cb (ECal *ecal, gpointer data) priv = gcal->priv; parent = gtk_widget_get_toplevel (GTK_WIDGET (gcal)); - parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; + parent = gtk_widget_is_toplevel (parent) ? parent : NULL; /* FIXME What about default sources? */ -- cgit v1.2.3