summaryrefslogtreecommitdiff
path: root/src/ui/theme.h
diff options
context:
space:
mode:
authorYaakov Selkowitz <[email protected]>2015-07-17 13:14:35 -0500
committerYaakov Selkowitz <[email protected]>2015-07-17 13:14:35 -0500
commit627d2bac855ed34c3e5bb122078e078a06fa264e (patch)
tree32afb2aff23af1affd6c09626199271e69f8f967 /src/ui/theme.h
parent9d5a24638c306bce86244750de082faa09f1f8cd (diff)
downloadmarco-627d2bac855ed34c3e5bb122078e078a06fa264e.tar.bz2
marco-627d2bac855ed34c3e5bb122078e078a06fa264e.tar.xz
theme: Remove outdated assertion
The theme state used to use GtkStateType, but was ported over to GtkStateFlags, leaving behind a broken assertion that fails when using certain Metacity themes, for example Nodoka. https://bugzilla.gnome.org/show_bug.cgi?id=661286 https://git.gnome.org/browse/mutter/commit/?id=28deea4 https://git.gnome.org/browse/metacity/commit/?id=c9099b4 https://github.com/mate-desktop/marco/issues/205
Diffstat (limited to 'src/ui/theme.h')
-rw-r--r--src/ui/theme.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ui/theme.h b/src/ui/theme.h
index 66996d89..742d01fe 100644
--- a/src/ui/theme.h
+++ b/src/ui/theme.h
@@ -694,8 +694,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