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/mail/e-mail-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/mail/e-mail-attachment-handler.c')
-rw-r--r-- | modules/mail/e-mail-attachment-handler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mail/e-mail-attachment-handler.c b/modules/mail/e-mail-attachment-handler.c index e00ba9df64..166522a827 100644 --- a/modules/mail/e-mail-attachment-handler.c +++ b/modules/mail/e-mail-attachment-handler.c @@ -195,7 +195,7 @@ mail_attachment_handler_message_rfc822 (EAttachmentView *view, store = e_attachment_view_get_store (view); parent = gtk_widget_get_toplevel (GTK_WIDGET (view)); - parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; + parent = gtk_widget_is_toplevel (parent) ? parent : NULL; attachment = e_attachment_new_for_message (message); e_attachment_store_add_attachment (store, attachment); @@ -248,7 +248,7 @@ mail_attachment_handler_x_uid_list (EAttachmentView *view, store = e_attachment_view_get_store (view); parent = gtk_widget_get_toplevel (GTK_WIDGET (view)); - parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; + parent = gtk_widget_is_toplevel (parent) ? parent : NULL; uids = g_ptr_array_new (); |