aboutsummaryrefslogtreecommitdiffstats
path: root/modules
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 /modules
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 'modules')
-rw-r--r--modules/calendar/e-cal-attachment-handler.c4
-rw-r--r--modules/mail/e-mail-attachment-handler.c4
-rw-r--r--modules/mail/em-account-prefs.c8
3 files changed, 8 insertions, 8 deletions
diff --git a/modules/calendar/e-cal-attachment-handler.c b/modules/calendar/e-cal-attachment-handler.c
index dd95cc5d08..6453f14be2 100644
--- a/modules/calendar/e-cal-attachment-handler.c
+++ b/modules/calendar/e-cal-attachment-handler.c
@@ -329,7 +329,7 @@ attachment_handler_import_to_calendar (GtkAction *action,
view = e_attachment_handler_get_view (handler);
parent = gtk_widget_get_toplevel (GTK_WIDGET (view));
- parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL;
+ parent = gtk_widget_is_toplevel (parent) ? parent : NULL;
selected = e_attachment_view_get_selected_attachments (view);
g_return_if_fail (g_list_length (selected) == 1);
@@ -356,7 +356,7 @@ attachment_handler_import_to_tasks (GtkAction *action,
view = e_attachment_handler_get_view (handler);
parent = gtk_widget_get_toplevel (GTK_WIDGET (view));
- parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL;
+ parent = gtk_widget_is_toplevel (parent) ? parent : NULL;
selected = e_attachment_view_get_selected_attachments (view);
g_return_if_fail (g_list_length (selected) == 1);
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 ();
diff --git a/modules/mail/em-account-prefs.c b/modules/mail/em-account-prefs.c
index eaacec6c33..7a9973437e 100644
--- a/modules/mail/em-account-prefs.c
+++ b/modules/mail/em-account-prefs.c
@@ -80,7 +80,7 @@ account_prefs_disable_account_cb (EAccountTreeView *tree_view)
return;
parent = gtk_widget_get_toplevel (GTK_WIDGET (tree_view));
- parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL;
+ parent = gtk_widget_is_toplevel (parent) ? parent : NULL;
response = e_alert_run_dialog_for_args (
parent, "mail:ask-delete-proxy-accounts", NULL);
@@ -110,7 +110,7 @@ account_prefs_add_account (EAccountManager *manager)
}
parent = gtk_widget_get_toplevel (GTK_WIDGET (manager));
- parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL;
+ parent = gtk_widget_is_toplevel (parent) ? parent : NULL;
/** @HookPoint-EMConfig: New Mail Account Assistant
* @Id: org.gnome.evolution.mail.config.accountAssistant
@@ -153,7 +153,7 @@ account_prefs_edit_account (EAccountManager *manager)
g_return_if_fail (account != NULL);
parent = gtk_widget_get_toplevel (GTK_WIDGET (manager));
- parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL;
+ parent = gtk_widget_is_toplevel (parent) ? parent : NULL;
/** @HookPoint-EMConfig: Mail Account Editor
* @Id: org.gnome.evolution.mail.config.accountEditor
@@ -196,7 +196,7 @@ account_prefs_delete_account (EAccountManager *manager)
return;
parent = gtk_widget_get_toplevel (GTK_WIDGET (manager));
- parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL;
+ parent = gtk_widget_is_toplevel (parent) ? parent : NULL;
has_proxies =
e_account_list_account_has_proxies (account_list, account);