diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-08 03:44:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-08 03:45:43 +0800 |
commit | 79741ccd3f90c4c8aab672b508606d63c3899584 (patch) | |
tree | 1665585e797b21156c17595263d7f47bc43bebff /calendar/gui/gnome-cal.c | |
parent | c5a010f9ac7087a2d7b050497977182161ed115c (diff) | |
download | gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar.gz gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar.zst gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.zip |
BugĀ 606250 - Remove usage of deprecated GTK+ symbols
Several GtkWidget macros were recently deprecated.
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r-- | calendar/gui/gnome-cal.c | 6 |
1 files changed, 3 insertions, 3 deletions
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? */ |