From 0b1cd2dd5b0b2b35a0c12032b54ac51b97b22110 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 26 May 2010 17:19:41 -0400 Subject: Coding style and whitespace cleanup. --- plugins/mark-all-read/mark-all-read.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'plugins/mark-all-read') diff --git a/plugins/mark-all-read/mark-all-read.c b/plugins/mark-all-read/mark-all-read.c index f22b2276f0..e152ec1c9f 100644 --- a/plugins/mark-all-read/mark-all-read.c +++ b/plugins/mark-all-read/mark-all-read.c @@ -91,7 +91,14 @@ prompt_user (gboolean has_subfolders) gint response; if (!has_subfolders) { - return em_utils_prompt_user (e_shell_get_active_window (e_shell_get_default ()), NULL, "mail:ask-mark-all-read", NULL) ? + EShell *shell; + GtkWindow *parent; + + shell = e_shell_get_default (); + parent = e_shell_get_active_window (shell); + + return em_utils_prompt_user ( + parent, NULL, "mail:ask-mark-all-read", NULL) ? GTK_RESPONSE_NO : GTK_RESPONSE_CANCEL; } -- cgit v1.2.3