diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-10-15 04:59:03 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-10-15 04:59:03 +0000 |
commit | d0cc5dee2b41d6410a25caceb57d494fcdf25f0b (patch) | |
tree | 2c50ed873046403b332172a64e24b2b04116287b /gtk/gtkcellview.c | |
parent | 091d8e28ea205c49daca72739c706f1d1eab5ce1 (diff) | |
download | gdk-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.c | 3 |
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; } |