Avoid a race in the file chooser portal
authorMatthias Clasen <mclasen@redhat.com>
Sat, 1 Jul 2017 23:13:03 +0000 (19:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 7 Jul 2017 16:21:34 +0000 (12:21 -0400)
commit15e361e793d6703fa7519b670c41dde85abf9cef
tree23a5d3e995c2e46ea1a7ee8f5dfb290feed2c62a
parentc23205dc82142c62f83e7e13eb820d17edd22e2a
Avoid a race in the file chooser portal

Use the new predictable request object path and connect
to the Response signal before issuing the portal call.
This avoids a race that is pretty unlikely to hit in
the filechooser case.
gtk/gtkfilechoosernativeportal.c