filechooserwidget: Match choice id from "options"
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sat, 18 Sep 2021 03:14:55 +0000 (00:14 -0300)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 Oct 2021 21:52:04 +0000 (17:52 -0400)
commitd94ebd469e32004c7f659dbd86d32c8af5c55dd1
treee58130702ecf1381dd0d3e4ea3931c3d5f203c77
parentde17c618fc23406a8390fe1cf9d606eeb07c2ee4
filechooserwidget: Match choice id from "options"

When choices are added to the file chooser widget, the options of
that choice are stored object data under the "options" key. However,
gtk_file_chooser_widget_set_choice() was checking for "choices".

Retrieve the options from the "options" key stored data object data.
gtk/gtkfilechooserwidget.c