summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas James Alexander Thurman <tthurman@src.gnome.org>2006-04-25 23:16:47 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2006-04-25 23:16:47 +0000
commitcef514665042491d6ffbb439d266d4ca48291385 (patch)
tree27bda4128c0c488ff90cc280c523f6a51caf79d2
parentf10373555fcbdd4e45167b337145d9ee200a967c (diff)
downloadmetacity-cef514665042491d6ffbb439d266d4ca48291385.tar.gz
Fix button version check
-rw-r--r--src/theme.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/theme.c b/src/theme.c
index 3a2cb6ad..a8041a32 100644
--- a/src/theme.c
+++ b/src/theme.c
@@ -3835,9 +3835,8 @@ meta_frame_style_validate (MetaFrameStyle *style,
{
for (j = 0; j < META_BUTTON_STATE_LAST; j++)
{
- meta_warning("Checking button %d for theme version %d\n", j, current_theme_version);
if (get_button (style, i, j) == NULL &&
- meta_theme_earliest_version_with_button (j) <= current_theme_version
+ meta_theme_earliest_version_with_button (i) <= current_theme_version
)
{
g_set_error (error, META_THEME_ERROR,