diff options
author | Kristian Rietveld <kris@gtk.org> | 2005-07-14 00:05:49 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2005-07-14 00:05:49 +0000 |
commit | a9f39e4d6d21481165bf35918f36592f34e57795 (patch) | |
tree | 320bbdc2d3795ffec689cca7ad85c18b9c4eeb7f /gtk/gtktreeviewcolumn.c | |
parent | a6ecb70b14643705b9015af896f55020438da92a (diff) | |
download | gdk-pixbuf-a9f39e4d6d21481165bf35918f36592f34e57795.tar.gz |
new function (fixes #169961, reported by Morten Welinder).
2005-07-14 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_queue_resize): new
function (fixes #169961, reported by Morten Welinder).
Diffstat (limited to 'gtk/gtktreeviewcolumn.c')
-rw-r--r-- | gtk/gtktreeviewcolumn.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c index 226ab3a17..b4fae3dca 100644 --- a/gtk/gtktreeviewcolumn.c +++ b/gtk/gtktreeviewcolumn.c @@ -3661,5 +3661,23 @@ gtk_tree_view_column_cell_get_position (GtkTreeViewColumn *tree_column, return found_cell; } +/** + * gtk_tree_view_column_queue_resize: + * @tree_column: A #GtkTreeViewColumn + * + * Flags the column, and the cell renderers added to this column, to have + * their sizes renegotiated. + * + * Since: 2.8 + **/ +void +gtk_tree_view_column_queue_resize (GtkTreeViewColumn *tree_column) +{ + g_return_if_fail (tree_column != NULL); + + if (tree_column->tree_view) + _gtk_tree_view_column_cell_set_dirty (tree_column, TRUE); +} + #define __GTK_TREE_VIEW_COLUMN_C__ #include "gtkaliasdef.c" |