summaryrefslogtreecommitdiff
path: root/libslab
diff options
context:
space:
mode:
Diffstat (limited to 'libslab')
-rw-r--r--libslab/app-resizer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libslab/app-resizer.c b/libslab/app-resizer.c
index a77183b3..350b62cf 100644
--- a/libslab/app-resizer.c
+++ b/libslab/app-resizer.c
@@ -48,6 +48,10 @@ app_resizer_class_init (AppResizerClass * klass)
static void
app_resizer_init (AppResizer * window)
{
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (window)),
+ GTK_STYLE_CLASS_VIEW);
+#endif
}
void