summaryrefslogtreecommitdiff
path: root/libslab/app-resizer.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-03-05 00:23:44 +0100
committerStefano Karapetsas <[email protected]>2015-03-05 14:04:37 +0100
commit17003c6930da50edf0ef2a0a96ad238b7feed323 (patch)
tree2c497903025729c6497bcbfa15379123244f07cc /libslab/app-resizer.c
parentb5a43f007a7154440998871d29e83a0fed0c87e4 (diff)
downloadmate-control-center-17003c6930da50edf0ef2a0a96ad238b7feed323.tar.bz2
mate-control-center-17003c6930da50edf0ef2a0a96ad238b7feed323.tar.xz
GTK3: add missing style class view to AppResizer
Closes https://github.com/mate-desktop/mate-control-center/pull/145 Closes https://github.com/mate-desktop/mate-control-center/issues/142
Diffstat (limited to 'libslab/app-resizer.c')
-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