[evolution/email-factory-3-4: 5/47] Port commit 224f26b84d9c12b0dd1d337f51c14b6ebb901007
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/email-factory-3-4: 5/47] Port commit 224f26b84d9c12b0dd1d337f51c14b6ebb901007
- Date: Tue, 3 Jan 2012 09:35:49 +0000 (UTC)
commit 75e3c1cfc9d9973b4b09a2a1054634bb7626fc7e
Author: Srinivasa Ragavan <sragavan gnome org>
Date: Mon Oct 31 11:40:49 2011 +0530
Port commit 224f26b84d9c12b0dd1d337f51c14b6ebb901007
mail/e-mail-backend.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index 5fd2e9c..949507b 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -850,11 +850,13 @@ mail_mt_alert_error (const char *what, const char *message)
EShellWindow *shell_window = NULL;
EShellContent *shell_content;
GList *list, *iter;
-
+ GtkApplication *application;
+
shell = e_shell_get_default ();
+ application = GTK_APPLICATION (shell);
+ list = gtk_application_get_windows (application);
/* Find the most recently used EShellWindow. */
- list = e_shell_get_watched_windows (shell);
for (iter = list; iter != NULL; iter = g_list_next (iter)) {
if (E_IS_SHELL_WINDOW (iter->data)) {
shell_window = E_SHELL_WINDOW (iter->data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]