[gnome-software/gnome-3-20] Avoid destroying the refresh confirm dialog twice



commit bcc688315c31876e092d06dc3074610ee5928e10
Author: Kalev Lember <klember redhat com>
Date:   Tue Jul 12 12:29:15 2016 +0200

    Avoid destroying the refresh confirm dialog twice

 src/gs-shell-updates.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-shell-updates.c b/src/gs-shell-updates.c
index dec60e0..6bfaa41 100644
--- a/src/gs-shell-updates.c
+++ b/src/gs-shell-updates.c
@@ -790,7 +790,6 @@ gs_shell_updates_refresh_confirm_cb (GtkDialog *dialog,
        default:
                g_assert_not_reached ();
        }
-       gtk_widget_destroy (GTK_WIDGET (dialog));
 }
 
 /**


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