[balsa] main-window: Drop another guard



commit 90f8b55684ac8d7cde3ab3f4acae2ed5689ba25d
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Mon Jan 13 21:24:28 2020 -0500

    main-window: Drop another guard

 src/main-window.c | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/src/main-window.c b/src/main-window.c
index 24c89ebee..0fbe2895e 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -2860,7 +2860,6 @@ typedef struct {
     gchar            *message;
     gboolean          set_current;
     GApplication     *application;
-    gboolean          opening;
 } BalsaWindowRealOpenMbnodeInfo;
 
 static gboolean
@@ -2876,11 +2875,6 @@ bw_real_open_mbnode_idle_cb(BalsaWindowRealOpenMbnodeInfo * info)
     gint               page_num;
     LibBalsaCondition *filter;
 
-    /* Avoid recursive entry: */
-    if (info->opening)
-        return FALSE;
-    info->opening = TRUE;
-
     if (window == NULL) {
         g_free(info->message);
         g_object_unref(g_object_ref_sink(index));
@@ -3039,7 +3033,6 @@ balsa_window_real_open_mbnode(BalsaWindow * window,
     info->set_current = set_current;
     info->index = index;
     info->message = message;
-    info->opening = FALSE;
 
     info->application = G_APPLICATION(gtk_window_get_application(GTK_WINDOW(window)));
     g_application_hold(info->application);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]