summaryrefslogtreecommitdiff
path: root/gtk/gtkiconcachevalidator.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-05-02 02:19:08 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-05-02 02:19:08 +0000
commitfdd5aa6e5b6dec73d97b902ab3f4f2add52c82e4 (patch)
treef879eb3af2c2652344e40c633705ed5f1a62c714 /gtk/gtkiconcachevalidator.c
parent321817db5356caf9f72f3d2d1b4f4726dd8ff00e (diff)
downloadgtk+-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.c5
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)
{