[gnome-font-viewer/wip/cdavis/code-modernization] application: Use window.close() instead of destroy()



commit a2c1079360f6d1e22551197638e966ab630e6b7b
Author: Christopher Davis <christopherdavis gnome org>
Date:   Tue Oct 11 11:30:17 2022 -0400

    application: Use window.close() instead of destroy()

 src/font-view-application.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/font-view-application.c b/src/font-view-application.c
index 0165677..7dd050f 100644
--- a/src/font-view-application.c
+++ b/src/font-view-application.c
@@ -101,7 +101,7 @@ static void
 action_quit (GSimpleAction *action, GVariant *parameter, gpointer user_data)
 {
     FontViewApplication *self = user_data;
-    gtk_window_destroy (GTK_WINDOW (self->main_window));
+    gtk_window_close (GTK_WINDOW (self->main_window));
 }
 
 static void


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