diff options
author | Michal Ratajsky <[email protected]> | 2014-11-10 10:14:52 +0100 |
---|---|---|
committer | Michal Ratajsky <[email protected]> | 2014-11-10 10:14:52 +0100 |
commit | 18e81ee51655eb0bf122daf1d2ccdb75950bd3fe (patch) | |
tree | cd8fc95e22f43538b070a6ac7930c2f60cff81a7 /mate-volume-control | |
parent | bc8dbb819a1fde09f0d3239a1fb0b5a2b8fb8878 (diff) | |
download | mate-media-18e81ee51655eb0bf122daf1d2ccdb75950bd3fe.tar.bz2 mate-media-18e81ee51655eb0bf122daf1d2ccdb75950bd3fe.tar.xz |
Add forgotten GTK+ version check to GvcLevelBar
Diffstat (limited to 'mate-volume-control')
-rw-r--r-- | mate-volume-control/gvc-level-bar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mate-volume-control/gvc-level-bar.c b/mate-volume-control/gvc-level-bar.c index 289c47e..9a67c1d 100644 --- a/mate-volume-control/gvc-level-bar.c +++ b/mate-volume-control/gvc-level-bar.c @@ -823,9 +823,11 @@ gvc_level_bar_class_init (GvcLevelBarClass *klass) static void gvc_level_bar_init (GvcLevelBar *bar) { +#if GTK_CHECK_VERSION (3, 0, 0) GtkStyleContext *context = gtk_widget_get_style_context (GTK_WIDGET (bar)); gtk_style_context_add_class (context, GTK_STYLE_CLASS_LIST_ROW); +#endif bar->priv = GVC_LEVEL_BAR_GET_PRIVATE (bar); |