[gnome-bluetooth/wip/hadess/sendto-fixes: 3/3] sendto: Fix warning when closing file chooser
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/hadess/sendto-fixes: 3/3] sendto: Fix warning when closing file chooser
- Date: Wed, 23 Feb 2022 13:10:36 +0000 (UTC)
commit 663463dc9387b1288514b1d3f940bbe1415b0faf
Author: Bastien Nocera <hadess hadess net>
Date: Wed Feb 23 14:07:48 2022 +0100
sendto: Fix warning when closing file chooser
Fix a warning when closing the file chooser without selecting a file,
using keyboard shortcuts.
GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkWindow'
sendto/main.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/sendto/main.c b/sendto/main.c
index 2f36f592..8dc2b122 100644
--- a/sendto/main.c
+++ b/sendto/main.c
@@ -688,6 +688,7 @@ show_select_dialog(void)
"title", _("Choose files to send"),
"action", GTK_FILE_CHOOSER_ACTION_OPEN,
"use-header-bar", 1,
+ "hide-on-close", TRUE,
NULL);
gtk_dialog_add_buttons(GTK_DIALOG (dialog),
_("_Cancel"), GTK_RESPONSE_CANCEL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]