diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-03-03 13:12:05 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-03-03 13:12:05 -0600 |
commit | 3fc82a0f5983b37d517098700928c9cbf6086e5a (patch) | |
tree | aaaec7a482a02cc29819b9dc229ac59bcb94bffe /src | |
parent | 1f9baf0fecb0ed170344d3d0d37d0d1542b6d87d (diff) | |
download | ayatana-indicator-sound-3fc82a0f5983b37d517098700928c9cbf6086e5a.tar.gz ayatana-indicator-sound-3fc82a0f5983b37d517098700928c9cbf6086e5a.tar.bz2 ayatana-indicator-sound-3fc82a0f5983b37d517098700928c9cbf6086e5a.zip |
fix static overrun in lp Bug #944250
Diffstat (limited to 'src')
-rw-r--r-- | src/metadata-widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |