diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-02-23 14:07:48 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-02-23 16:21:49 +0100 |
commit | c05589f82b6b35f3d0fb4c08315bc319441b49c1 (patch) | |
tree | 395572e5b5c3b28247c595f0229c5f46c11caafb | |
parent | 965ba6add9825000b50b09b6cac08b55a3a1e192 (diff) | |
download | gnome-bluetooth-c05589f82b6b35f3d0fb4c08315bc319441b49c1.tar.gz |
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'
-rw-r--r-- | sendto/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |