[file-roller] ignore other calls to fr_window_close for the same window
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] ignore other calls to fr_window_close for the same window
- Date: Sun, 25 Nov 2012 14:39:27 +0000 (UTC)
commit 3a02663aa180155c833018ecdbece3c0df8aafcd
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Nov 25 15:33:43 2012 +0100
ignore other calls to fr_window_close for the same window
src/fr-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/fr-window.c b/src/fr-window.c
index 343cba4..1f6e2e7 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -596,6 +596,9 @@ fr_window_close (FrWindow *window)
if (window->priv->activity_ref > 0)
return;
+ if (window->priv->closing)
+ return;
+
window->priv->closing = TRUE;
if (gtk_widget_get_realized (GTK_WIDGET (window))) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]