diff -rupN mutter/src/ui/theme.c mutter-new/src/ui/theme.c
--- mutter/src/ui/theme.c	2011-09-20 16:48:16.000000000 +0200
+++ mutter-new/src/ui/theme.c	2011-10-08 21:51:25.324485927 +0200
@@ -1337,7 +1337,6 @@ meta_color_spec_new_from_string (const c
       spec = meta_color_spec_new (META_COLOR_SPEC_GTK);
       spec->data.gtk.state = state;
       spec->data.gtk.component = component;
-      g_assert (spec->data.gtk.state < N_GTK_STATES);
       g_assert (spec->data.gtk.component < META_GTK_COLOR_LAST);
     }
   else if (str[0] == 'b' && str[1] == 'l' && str[2] == 'e' && str[3] == 'n' &&
diff -rupN mutter/src/ui/theme-private.h mutter-new/src/ui/theme-private.h
--- mutter/src/ui/theme-private.h	2011-09-20 16:48:16.000000000 +0200
+++ mutter-new/src/ui/theme-private.h	2011-10-08 21:51:53.221254405 +0200
@@ -723,8 +723,6 @@ typedef enum
   META_FRAME_PIECE_LAST
 } MetaFramePiece;
 
-#define N_GTK_STATES 5
-
 /**
  * How to draw a frame in a particular state (say, a focussed, non-maximised,
  * resizable frame). This corresponds closely to the <frame_style> tag
