From 3fc82a0f5983b37d517098700928c9cbf6086e5a Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sat, 3 Mar 2012 13:12:05 -0600 Subject: fix static overrun in lp Bug #944250 --- src/metadata-widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metadata-widget.c b/src/metadata-widget.c index 597c12c..08528d1 100644 --- a/src/metadata-widget.c +++ b/src/metadata-widget.c @@ -528,7 +528,7 @@ draw_album_border(GtkWidget *metadata, bg_normal.g = style->bg[0].green/65535.0; bg_normal.b = style->bg[0].blue/65535.0; - gint state = selected ? 5 : 0; + const gint state = selected ? GTK_STATE_SELECTED : GTK_STATE_NORMAL; fg_normal.r = style->fg[state].red/65535.0; fg_normal.g = style->fg[state].green/65535.0; -- cgit v1.2.3