diff options
author | Kristian Rietveld <kris@gtk.org> | 2003-01-30 22:42:21 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2003-01-30 22:42:21 +0000 |
commit | 2fb74b135baeeb7b2363e099d61ac953c1467404 (patch) | |
tree | 08dafad02157fdcff0703a996dc258dc3effed1f /gtk/gtkstyle.c | |
parent | e9cefbccec8ba913e118f519d7e20c8b3307d389 (diff) | |
download | gdk-pixbuf-2fb74b135baeeb7b2363e099d61ac953c1467404.tar.gz |
only count the special cell if it is also visible,
Thu Jan 30 23:48:30 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_count_special_cell):
only count the special cell if it is also visible,
(_gtk_tree_view_column_get_neighbor_sizes): only take the width into
account from visible cells,
(gtk_tree_view_column_cell_get_position): likewise, (Reported and
testcase provided by Vasco Alexandre da Silva Costa, via IRC,
tracking bug was #104563).
Thu Jan 30 23:46:15 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
subtract expander space and focus line space from the extra space
we are about the allocate. (Fixes #104635).
Thu Jan 30 23:42:03 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkstyle.c (apply_affine_on_point): fix rouding error
(Fixes #96252, patch from Soeren Sandmann).
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r-- | gtk/gtkstyle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index fe0198af4..1793c6bbf 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -4694,8 +4694,8 @@ apply_affine_on_point (double affine[6], GdkPoint *point) x = point->x * affine[0] + point->y * affine[2] + affine[4]; y = point->x * affine[1] + point->y * affine[3] + affine[5]; - point->x = x; - point->y = y; + point->x = floor (x); + point->y = floor (y); } static void |