summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-07-13 01:44:34 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-07-13 07:02:15 -0400
commit6184edc31896dca557c76fbcc6d13cc1e84a14eb (patch)
treed54de63dc068c33b83907a159497d843f4390113
parentd8815f3e4ee090cf22156a96873909db10d384f4 (diff)
downloadgtk+-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
-rw-r--r--gtk/gtkfilechoosernativeportal.c2
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;