diff options
author | Denis Gorodnichev <[email protected]> | 2016-04-18 11:27:59 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-01 12:23:32 +0200 |
commit | dba95110816f6844bab647fdc346efe32aff0e99 (patch) | |
tree | be09112b34d7ccff1690df62b1ecc92cc8a8c10a /plugins/common | |
parent | fdef6d944a4489789118a64693947f9800656643 (diff) | |
download | mate-settings-daemon-dba95110816f6844bab647fdc346efe32aff0e99.tar.bz2 mate-settings-daemon-dba95110816f6844bab647fdc346efe32aff0e99.tar.xz |
setup css class name for MsdOsdWindow
Diffstat (limited to 'plugins/common')
-rw-r--r-- | plugins/common/msd-osd-window.c | 5 |
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)); } |