aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-define-views-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/menus/gal-define-views-model.c')
-rw-r--r--widgets/menus/gal-define-views-model.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/widgets/menus/gal-define-views-model.c b/widgets/menus/gal-define-views-model.c
index 4f988c09bb..ca365d662b 100644
--- a/widgets/menus/gal-define-views-model.c
+++ b/widgets/menus/gal-define-views-model.c
@@ -79,9 +79,7 @@ gdvm_set_value_at (ETableModel *etc, int col, int row, const void *val)
if (views->editable) {
if (col != 0 || row < 0 || row > views->data_count)
return;
- gtk_object_set(GTK_OBJECT(views->data[row]),
- "name", val,
- NULL);
+ gal_view_set_title(views->data[row], val);
e_table_model_cell_changed(etc, col, row);
}
}