summaryrefslogtreecommitdiff
path: root/gtk/gtkcellview.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-10-15 04:59:03 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-10-15 04:59:03 +0000
commitd0cc5dee2b41d6410a25caceb57d494fcdf25f0b (patch)
tree2c50ed873046403b332172a64e24b2b04116287b /gtk/gtkcellview.c
parent091d8e28ea205c49daca72739c706f1d1eab5ce1 (diff)
downloadgdk-pixbuf-d0cc5dee2b41d6410a25caceb57d494fcdf25f0b.tar.gz
Restore the size info for the current row after measuring another row.
2004-10-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellview.c (gtk_cell_view_get_size_of_row): Restore the size info for the current row after measuring another row. (#154945, William Jon McCann)
Diffstat (limited to 'gtk/gtkcellview.c')
-rw-r--r--gtk/gtkcellview.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c
index dd4b747b1..08cf897ae 100644
--- a/gtk/gtkcellview.c
+++ b/gtk/gtkcellview.c
@@ -1055,6 +1055,9 @@ gtk_cell_view_get_size_of_row (GtkCellView *cell_view,
gtk_tree_row_reference_free (cell_view->priv->displayed_row);
cell_view->priv->displayed_row = tmp;
+ /* restore actual size info */
+ gtk_cell_view_size_request (GTK_WIDGET (cell_view), &req);
+
return TRUE;
}