diff options
author | Patrick Griffis <tingping@tingping.se> | 2016-07-13 01:44:34 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-07-13 07:02:15 -0400 |
commit | 6184edc31896dca557c76fbcc6d13cc1e84a14eb (patch) | |
tree | d54de63dc068c33b83907a159497d843f4390113 /gtk/gtkfilechoosernativeportal.c | |
parent | d8815f3e4ee090cf22156a96873909db10d384f4 (diff) | |
download | gtk+-6184edc31896dca557c76fbcc6d13cc1e84a14eb.tar.gz |
GtkFileChooserNativePortal: Use correct response code for accept
As per the documentation of GtkFileChooserNative.
https://bugzilla.gnome.org/show_bug.cgi?id=768756
Diffstat (limited to 'gtk/gtkfilechoosernativeportal.c')
-rw-r--r-- | gtk/gtkfilechoosernativeportal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechoosernativeportal.c b/gtk/gtkfilechoosernativeportal.c index 05dedaa225..d82bed5ab2 100644 --- a/gtk/gtkfilechoosernativeportal.c +++ b/gtk/gtkfilechoosernativeportal.c @@ -124,7 +124,7 @@ response_cb (GDBusConnection *connection, switch (portal_response) { case 0: - gtk_response = GTK_RESPONSE_OK; + gtk_response = GTK_RESPONSE_ACCEPT; break; case 1: gtk_response = GTK_RESPONSE_CANCEL; |