summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/common/msd-osd-window.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/common/msd-osd-window.c b/plugins/common/msd-osd-window.c
index d0f5ed7..2452870 100644
--- a/plugins/common/msd-osd-window.c
+++ b/plugins/common/msd-osd-window.c
@@ -649,6 +649,11 @@ msd_osd_window_class_init (MsdOsdWindowClass *klass)
G_TYPE_NONE, 1,
G_TYPE_POINTER);
+#if GTK_CHECK_VERSION (3, 20, 0)
+ GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (class);
+ gtk_widget_class_set_css_name (widget_class, "MsdOsdWindow");
+#endif
+
g_type_class_add_private (klass, sizeof (MsdOsdWindowPrivate));
}