[gnome-software: 2/5] gs-application: Don't destroy about dialog on response




commit 9aec0b364b7fc2bf700eb47a4532315a5637883c
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Oct 5 18:44:59 2021 -0300

    gs-application: Don't destroy about dialog on response
    
    GtkAboutDialog does not have a "response" signal anymore, and
    we don't need to explicitly destroy it anyway. Simply remove
    the corresponding code.

 src/gs-application.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/gs-application.c b/src/gs-application.c
index 5d82e6f4a..b62931bc1 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -371,10 +371,6 @@ about_activated (GSimpleAction *action,
                                                 "software on your system."));
 
        gs_shell_modal_dialog_present (app->shell, GTK_WINDOW (dialog));
-
-       /* just destroy */
-       g_signal_connect_swapped (dialog, "response",
-                                 G_CALLBACK (gtk_window_destroy), dialog);
 }
 
 static void


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