diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-08 03:44:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-08 03:45:43 +0800 |
commit | 79741ccd3f90c4c8aab672b508606d63c3899584 (patch) | |
tree | 1665585e797b21156c17595263d7f47bc43bebff /modules/mail/em-account-prefs.c | |
parent | c5a010f9ac7087a2d7b050497977182161ed115c (diff) | |
download | gsoc2013-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 'modules/mail/em-account-prefs.c')
-rw-r--r-- | modules/mail/em-account-prefs.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |