diff --git a/ChangeLog b/ChangeLog index 2f593d845..51a339564 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2004-04-19 Mark McLoughlin + + Syncing across this change from libwnck. + Patch from Neil Muller in bug #133979. + + * src/iconcache.c: (find_largest_sizes), (find_best_size): + Don't down-size nitems from a gulong to an int. Fixes a + crash with enlightenment, apparently. + 2004-04-16 Iñaki Larrañaga * configure.in: Added "eu" (Basque) to ALL_LINGUAS. diff --git a/src/iconcache.c b/src/iconcache.c index ead3de48b..b6e4aff14 100644 --- a/src/iconcache.c +++ b/src/iconcache.c @@ -46,7 +46,7 @@ get_fallback_icons (MetaScreen *screen, static gboolean find_largest_sizes (gulong *data, - int nitems, + gulong nitems, int *width, int *height) { @@ -81,7 +81,7 @@ find_largest_sizes (gulong *data, static gboolean find_best_size (gulong *data, - int nitems, + gulong nitems, int ideal_width, int ideal_height, int *width,