filechooserwidget: Return an id in get_choice()
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sat, 18 Sep 2021 03:17:36 +0000 (00:17 -0300)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 Oct 2021 21:52:04 +0000 (17:52 -0400)
commitac7bdabe9543a67a8496091880eb5a45eb11928c
treefc1c28033fdf04509dd3e61d7f82554b30481c71
parentd94ebd469e32004c7f659dbd86d32c8af5c55dd1
filechooserwidget: Return an id in get_choice()

gtk_file_chooser_widget_get_choice() is supposed to return the option
id of the choice, but it currently is returning the option label.

Return the option id instead.
gtk/gtkfilechooserwidget.c