gnumeric/gnumeric-1.9.9-bgo589105.patch

19 lines
641 B
Diff

diff --git a/src/dialogs/dialog-stf-preview.c b/src/dialogs/dialog-stf-preview.c
index a80a25f..4152a91 100644
--- a/src/dialogs/dialog-stf-preview.c
+++ b/src/dialogs/dialog-stf-preview.c
@@ -296,8 +296,8 @@ stf_preview_get_cell_renderer (RenderData_t *renderdata, int col)
GtkCellRenderer *res = NULL;
GtkTreeViewColumn *column = stf_preview_get_column (renderdata, col);
if (column) {
- GList *renderers =
- gtk_tree_view_column_get_cell_renderers (column);
+ GList *renderers = gtk_cell_layout_get_cells
+ (GTK_CELL_LAYOUT(column));
if (renderers) {
res = renderers->data;
g_list_free (renderers);
--
cgit v0.8.2