aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-attachment-handler-image.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 /widgets/misc/e-attachment-handler-image.c
parentc5a010f9ac7087a2d7b050497977182161ed115c (diff)
downloadgsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar
gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar.gz
gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar.bz2
gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar.lz
gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar.xz
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 'widgets/misc/e-attachment-handler-image.c')
-rw-r--r--widgets/misc/e-attachment-handler-image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/e-attachment-handler-image.c b/widgets/misc/e-attachment-handler-image.c
index a91b433c6e..277a51be7f 100644
--- a/widgets/misc/e-attachment-handler-image.c
+++ b/widgets/misc/e-attachment-handler-image.c
@@ -86,7 +86,7 @@ action_image_set_as_background_saved_cb (EAttachment *attachment,
error:
parent = gtk_widget_get_toplevel (GTK_WIDGET (view));
- parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL;
+ parent = gtk_widget_is_toplevel (parent) ? parent : NULL;
dialog = gtk_message_dialog_new_with_markup (
parent, GTK_DIALOG_DESTROY_WITH_PARENT,