aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html-display.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-01-08 03:44:46 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-01-08 03:45:43 +0800
commit79741ccd3f90c4c8aab672b508606d63c3899584 (patch)
tree1665585e797b21156c17595263d7f47bc43bebff /mail/em-format-html-display.c
parentc5a010f9ac7087a2d7b050497977182161ed115c (diff)
downloadgsoc2013-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 'mail/em-format-html-display.c')
-rw-r--r--mail/em-format-html-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index ccbf531e52..fd0fe783fd 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -834,7 +834,7 @@ efhd_attachment_button(EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObje
e_attachment_set_can_show (attachment, info->handle != NULL);
parent = gtk_widget_get_toplevel (GTK_WIDGET (efh->html));
- parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL;
+ parent = gtk_widget_is_toplevel (parent) ? parent : NULL;
view = em_format_html_display_get_attachment_view (efhd);
gtk_widget_show (GTK_WIDGET (view));