Blame marco_remove-outdated-assertion.patch
|
raveit65 |
6253a33 |
diff --git a/src/ui/theme.c b/src/ui/theme.c
|
|
raveit65 |
6253a33 |
index a7dc8d0..173c58f 100644
|
|
raveit65 |
6253a33 |
--- a/src/ui/theme.c
|
|
raveit65 |
6253a33 |
+++ b/src/ui/theme.c
|
|
raveit65 |
6253a33 |
@@ -1312,7 +1312,6 @@ meta_color_spec_new_from_string (const char *str,
|
|
raveit65 |
6253a33 |
spec = meta_color_spec_new (META_COLOR_SPEC_GTK);
|
|
raveit65 |
6253a33 |
spec->data.gtk.state = state;
|
|
raveit65 |
6253a33 |
spec->data.gtk.component = component;
|
|
raveit65 |
6253a33 |
- g_assert (spec->data.gtk.state < N_GTK_STATES);
|
|
raveit65 |
6253a33 |
g_assert (spec->data.gtk.component < META_GTK_COLOR_LAST);
|
|
raveit65 |
6253a33 |
}
|
|
raveit65 |
6253a33 |
else if (str[0] == 'b' && str[1] == 'l' && str[2] == 'e' && str[3] == 'n' &&
|
|
raveit65 |
6253a33 |
diff --git a/src/ui/theme.h b/src/ui/theme.h
|
|
raveit65 |
6253a33 |
index 66996d8..742d01f 100644
|
|
raveit65 |
6253a33 |
--- a/src/ui/theme.h
|
|
raveit65 |
6253a33 |
+++ b/src/ui/theme.h
|
|
raveit65 |
6253a33 |
@@ -694,8 +694,6 @@ typedef enum
|
|
raveit65 |
6253a33 |
META_FRAME_PIECE_LAST
|
|
raveit65 |
6253a33 |
} MetaFramePiece;
|
|
raveit65 |
6253a33 |
|
|
raveit65 |
6253a33 |
-#define N_GTK_STATES 5
|
|
raveit65 |
6253a33 |
-
|
|
raveit65 |
6253a33 |
/**
|
|
raveit65 |
6253a33 |
* How to draw a frame in a particular state (say, a focussed, non-maximised,
|
|
raveit65 |
6253a33 |
* resizable frame). This corresponds closely to the <frame_style> tag
|
|
raveit65 |
6253a33 |
|