[evolution/email-factory-3-4: 5/14] Port commit 224f26b84d9c12b0dd1d337f51c14b6ebb901007
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/email-factory-3-4: 5/14] Port commit 224f26b84d9c12b0dd1d337f51c14b6ebb901007
- Date: Mon, 31 Oct 2011 10:31:43 +0000 (UTC)
commit a9fd7e77742bcbf49836cdbd2f8993d196621b9e
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 21f3e46..3d8fd19 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -828,11 +828,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]