[gtk+] GtkFileChooserNativePortal: Use correct response code for accept
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkFileChooserNativePortal: Use correct response code for accept
- Date: Wed, 13 Jul 2016 11:02:30 +0000 (UTC)
commit 6184edc31896dca557c76fbcc6d13cc1e84a14eb
Author: Patrick Griffis <tingping tingping se>
Date: Wed Jul 13 01:44:34 2016 -0400
GtkFileChooserNativePortal: Use correct response code for accept
As per the documentation of GtkFileChooserNative.
https://bugzilla.gnome.org/show_bug.cgi?id=768756
gtk/gtkfilechoosernativeportal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechoosernativeportal.c b/gtk/gtkfilechoosernativeportal.c
index 05dedaa..d82bed5 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]