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 /modules/calendar/e-cal-attachment-handler.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 'modules/calendar/e-cal-attachment-handler.c')
-rw-r--r-- | modules/calendar/e-cal-attachment-handler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/calendar/e-cal-attachment-handler.c b/modules/calendar/e-cal-attachment-handler.c index dd95cc5d08..6453f14be2 100644 --- a/modules/calendar/e-cal-attachment-handler.c +++ b/modules/calendar/e-cal-attachment-handler.c @@ -329,7 +329,7 @@ attachment_handler_import_to_calendar (GtkAction *action, view = e_attachment_handler_get_view (handler); parent = gtk_widget_get_toplevel (GTK_WIDGET (view)); - parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; + parent = gtk_widget_is_toplevel (parent) ? parent : NULL; selected = e_attachment_view_get_selected_attachments (view); g_return_if_fail (g_list_length (selected) == 1); @@ -356,7 +356,7 @@ attachment_handler_import_to_tasks (GtkAction *action, view = e_attachment_handler_get_view (handler); parent = gtk_widget_get_toplevel (GTK_WIDGET (view)); - parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; + parent = gtk_widget_is_toplevel (parent) ? parent : NULL; selected = e_attachment_view_get_selected_attachments (view); g_return_if_fail (g_list_length (selected) == 1); |