X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fpsppire-empty-list-store.c;h=1658d1fde5ec3cdc29f6d127a4ddce7d170ff3f9;hb=d5a566a2900f69ab51c7dae78cd7810a4204589a;hp=b7bc569def5bf5c14be51e87cab10f1428910d64;hpb=698f289d1ecf1620aa5429599f2e76db23cff452;p=pspp diff --git a/src/ui/gui/psppire-empty-list-store.c b/src/ui/gui/psppire-empty-list-store.c index b7bc569def..1658d1fde5 100644 --- a/src/ui/gui/psppire-empty-list-store.c +++ b/src/ui/gui/psppire-empty-list-store.c @@ -180,6 +180,20 @@ psppire_empty_list_store_set_n_rows (PsppireEmptyListStore *obj, obj->n_rows = n_rows; } +void +psppire_empty_list_store_row_changed (PsppireEmptyListStore *obj, + gint row) +{ + GtkTreeModel *tree_model = GTK_TREE_MODEL (obj); + GtkTreeIter iter; + GtkTreePath *path; + + path = gtk_tree_path_new_from_indices (row, -1); + gtk_tree_model_get_iter (tree_model, &iter, path); + gtk_tree_model_row_changed (tree_model, path, &iter); + gtk_tree_path_free (path); +} + void psppire_empty_list_store_row_inserted (PsppireEmptyListStore *obj, gint row)