Syncing across this change from libwnck. Patch from Neil Muller

2004-04-19  Mark McLoughlin  <mark@skynet.ie>

        Syncing across this change from libwnck.
        Patch from Neil Muller <neil@dip.sun.ac.za> 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.
This commit is contained in:
Mark McLoughlin 2004-04-19 14:53:14 +00:00 committed by Mark McLoughlin
parent 09c929ce3f
commit 5c01798884
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,12 @@
2004-04-19 Mark McLoughlin <mark@skynet.ie>
Syncing across this change from libwnck.
Patch from Neil Muller <neil@dip.sun.ac.za> 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 <dooteo@euskalgnu.org> 2004-04-16 Iñaki Larrañaga <dooteo@euskalgnu.org>
* configure.in: Added "eu" (Basque) to ALL_LINGUAS. * configure.in: Added "eu" (Basque) to ALL_LINGUAS.

View File

@ -46,7 +46,7 @@ get_fallback_icons (MetaScreen *screen,
static gboolean static gboolean
find_largest_sizes (gulong *data, find_largest_sizes (gulong *data,
int nitems, gulong nitems,
int *width, int *width,
int *height) int *height)
{ {
@ -81,7 +81,7 @@ find_largest_sizes (gulong *data,
static gboolean static gboolean
find_best_size (gulong *data, find_best_size (gulong *data,
int nitems, gulong nitems,
int ideal_width, int ideal_width,
int ideal_height, int ideal_height,
int *width, int *width,