summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eom-scroll-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eom-scroll-view.c b/src/eom-scroll-view.c
index 86541eb..2d9f21a 100644
--- a/src/eom-scroll-view.c
+++ b/src/eom-scroll-view.c
@@ -2989,7 +2989,11 @@ _eom_scroll_view_update_bg_color (EomScrollView *view)
priv->background_surface = NULL;
}
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_widget_modify_bg (GTK_WIDGET (priv->display),
+#else
gtk_widget_modify_bg (GTK_WIDGET (view),
+#endif
GTK_STATE_NORMAL,
selected);
}