GtkFileChooserNativePortal: Use correct response code for accept

As per the documentation of GtkFileChooserNative.

https://bugzilla.gnome.org/show_bug.cgi?id=768756
This commit is contained in:
Patrick Griffis 2016-07-13 01:44:34 -04:00 committed by Matthias Clasen
parent d8815f3e4e
commit 6184edc318

View File

@ -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;