Merge branch 'wip/muktupavels/listbox' into 'gtk-3-24'

listbox: set selected_row before emitting signal

See merge request GNOME/gtk!479
This commit is contained in:
Timm Bäder 2019-01-11 11:38:19 +00:00
commit ca583836d9

View File

@ -1727,8 +1727,8 @@ gtk_list_box_update_selection_full (GtkListBox *box,
{
gtk_list_box_unselect_all_internal (box);
gtk_list_box_row_set_selected (row, TRUE);
g_signal_emit (box, signals[ROW_SELECTED], 0, row);
priv->selected_row = row;
g_signal_emit (box, signals[ROW_SELECTED], 0, row);
}
else if (priv->selection_mode == GTK_SELECTION_SINGLE)
{