json-glib: update to 1.10.6
[oi-userland.git] / components / library / gtk+3 / patches / 10-filechooser-enterkey.patch
blobd6d406b8ca65bc3a15f725f99dce8fe20e64ac49
1 --- gtk+-3.24.43/gtk/gtkfilechooserdialog.c.orig
2 +++ gtk+-3.24.43/gtk/gtkfilechooserdialog.c
3 @@ -678,6 +678,12 @@
5 response_id = va_arg (varargs, gint);
6 gtk_dialog_add_button (GTK_DIALOG (result), button_text, response_id);
7 +
8 + if ((response_id == GTK_RESPONSE_OK) ||
9 + (response_id == GTK_RESPONSE_ACCEPT) ||
10 + (response_id == GTK_RESPONSE_YES) ||
11 + (response_id == GTK_RESPONSE_APPLY))
12 + gtk_dialog_set_default_response (GTK_DIALOG (result), response_id);
13 button_text = va_arg (varargs, const gchar *);