summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmatekbd/matekbd-keyboard-drawing.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmatekbd/matekbd-keyboard-drawing.c b/libmatekbd/matekbd-keyboard-drawing.c
index 6b02fb0..a5be4aa 100644
--- a/libmatekbd/matekbd-keyboard-drawing.c
+++ b/libmatekbd/matekbd-keyboard-drawing.c
@@ -2176,6 +2176,11 @@ matekbd_keyboard_drawing_new (void)
static void
matekbd_keyboard_drawing_class_init (MatekbdKeyboardDrawingClass * klass)
{
+#if GTK_CHECK_VERSION (3, 20, 0)
+ GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
+ gtk_widget_class_set_css_name (widget_class, "matekbd-keyboard-drawing");
+#endif
+
klass->bad_keycode = NULL;
matekbd_keyboard_drawing_signals[BAD_KEYCODE] =