diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-06-12 17:39:50 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-06-14 07:41:39 +0200 |
commit | c32a5a80b7a3342a3c4ca9a79102c4489f0391d9 (patch) | |
tree | e18176ba21815a6f53dca197966059b4e37b99e3 /gtk/gtkcssimageurlprivate.h | |
parent | ec755541ab695ce6cde530cf2d8ad5f031de85d1 (diff) | |
download | gtk+-c32a5a80b7a3342a3c4ca9a79102c4489f0391d9.tar.gz |
iconview: gtk_icon_view_compute_n_items_for_size bugfix
While working on the "iconview: Don't shrink items" patch I noticed that
gtk_icon_view_compute_n_items_for_size modifies the natural and minimum
item sizes it got from gtk_icon_view_get_preferred_item_size when
calculating the max number of items which will fit, but later on it
checks against these sizes when calculating the item_size, and these
checks expect these values to be unmodified.
This patch fixes this by modifying the natural and minimum values in
advance and doing all computations with modified values.
https://bugzilla.gnome.org/show_bug.cgi?id=677809
Diffstat (limited to 'gtk/gtkcssimageurlprivate.h')
0 files changed, 0 insertions, 0 deletions