From 79741ccd3f90c4c8aab672b508606d63c3899584 Mon Sep 17 00:00:00 2001 From: Matthew Barnes 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/install-shared.c | 2 +- plugins/groupwise-features/send-options.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/groupwise-features') diff --git a/plugins/groupwise-features/install-shared.c b/plugins/groupwise-features/install-shared.c index d1edff3e02..b570d6486d 100644 --- a/plugins/groupwise-features/install-shared.c +++ b/plugins/groupwise-features/install-shared.c @@ -167,7 +167,7 @@ apply_clicked (GtkAssistant *assistant, CamelMimeMessage *msg) gpointer parent; parent = gtk_widget_get_toplevel (GTK_WIDGET (assistant)); - parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; + parent = gtk_widget_is_toplevel (parent) ? parent : NULL; accept_data = g_new0(struct AcceptData, 1); folder_tree = (EMFolderTree *) em_folder_tree_new (); 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