From 79741ccd3f90c4c8aab672b508606d63c3899584 Mon Sep 17 00:00:00 2001
From: Matthew Barnes <mbarnes@redhat.com>
Date: Thu, 7 Jan 2010 14:44:46 -0500
Subject: =?UTF-8?q?Bug=C2=A0606250=20-=20Remove=20usage=20of=20deprecated?=
 =?UTF-8?q?=20GTK+=20symbols?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Several GtkWidget macros were recently deprecated.
---
 plugins/groupwise-features/send-options.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'plugins/groupwise-features/send-options.c')

diff --git a/plugins/groupwise-features/send-options.c b/plugins/groupwise-features/send-options.c
index f819501eb2..6e75f9153e 100644
--- a/plugins/groupwise-features/send-options.c
+++ b/plugins/groupwise-features/send-options.c
@@ -218,8 +218,8 @@ org_gnome_send_options (EPlugin *epl, EConfigHookItemFactoryData *data)
 			    G_CALLBACK (e_sendoptions_clicked_cb), account);
 
 	parent = gtk_widget_get_toplevel (GTK_WIDGET (data->parent));
-	if (!GTK_WIDGET_TOPLEVEL (parent))
-	parent = NULL;
+	if (!gtk_widget_is_toplevel (parent))
+		parent = NULL;
 
 	gtk_widget_set_size_request (button, 10, -1);
 	gtk_box_pack_start (GTK_BOX (vbox), frame, 0, 0, 0);
-- 
cgit v1.2.3