[gnome-screenshot/wip/exalm/cleanups: 6/16] fixup! dialog: Convert into a GtkWidget template



commit a1e1be82b968dc27d2955cc1c48a6b101b9bbfac
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Apr 3 04:32:08 2020 +0500

    fixup! dialog: Convert into a GtkWidget template

 src/screenshot-application.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/screenshot-application.c b/src/screenshot-application.c
index 013faed..ef520f5 100644
--- a/src/screenshot-application.c
+++ b/src/screenshot-application.c
@@ -104,7 +104,7 @@ screenshot_close_interactive_dialog (ScreenshotApplication *self)
 {
   ScreenshotDialog *dialog = self->priv->dialog;
   save_folder_to_settings (self);
-  gtk_window_close (GTK_WINDOW (dialog));
+  gtk_widget_destroy (GTK_WIDGET (dialog));
 }
 
 static void


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