mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
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:
parent
09c929ce3f
commit
5c01798884
@ -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.
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user