diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-05-02 02:19:08 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-05-02 02:19:08 +0000 |
commit | fdd5aa6e5b6dec73d97b902ab3f4f2add52c82e4 (patch) | |
tree | f879eb3af2c2652344e40c633705ed5f1a62c714 /gtk/gtkiconcachevalidator.c | |
parent | 321817db5356caf9f72f3d2d1b4f4726dd8ff00e (diff) | |
download | gtk+-fdd5aa6e5b6dec73d97b902ab3f4f2add52c82e4.tar.gz |
Don't be too strict when checking icon flags. (#435062)
2007-05-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconcachevalidator.c: Don't be too strict when checking
icon flags. (#435062)
svn path=/trunk/; revision=17767
Diffstat (limited to 'gtk/gtkiconcachevalidator.c')
-rw-r--r-- | gtk/gtkiconcachevalidator.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkiconcachevalidator.c b/gtk/gtkiconcachevalidator.c index cb1d964ba7..21c4ec2059 100644 --- a/gtk/gtkiconcachevalidator.c +++ b/gtk/gtkiconcachevalidator.c @@ -23,7 +23,7 @@ #include <gdk-pixbuf/gdk-pixdata.h> -#define VERBOSE(x) +#define VERBOSE(x) x #define check(name,condition) \ if (!(condition)) \ @@ -262,8 +262,7 @@ check_image (CacheInfo *info, get_uint32 (info, offset + 4, &image_data_offset)); check ("image index", index < info->n_directories); - check ("image flags", flags == 1 || flags == 2 || flags == 4 || - flags == 9 || flags == 10 || flags == 12); + check ("image flags", flags < 16); if (image_data_offset != 0) { |