file chooser: Remove a wrong assumption
authorMatthias Clasen <mclasen@redhat.com>
Fri, 3 Jul 2015 14:52:39 +0000 (07:52 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 4 Jul 2015 04:29:26 +0000 (00:29 -0400)
commited1c349e0b914621a5fc25c6add92a6c8bc2c0b4
treef6dd246c3ea90e96b0e169cb65d23fa0ea49610b
parent17a860cea23cefdd4b1ec7dbe9b2a8f25fd77c08
file chooser: Remove a wrong assumption

The code for getting the selected files was assuming that
we are always in browse mode, and was causing warnings when
hitting Ctrl-L twice, right after opening the file chooser.

The fix is to simple use the model that is passed into the
callback.
gtk/gtkfilechooserwidget.c