forked from AuroraMiddleware/gtk
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:
parent
d8815f3e4e
commit
6184edc318
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user