mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
gdkwindow-x11: always set _GTK_THEME_VARIANT property
Set _GTK_THEME_VARIANT to empty string when default theme variant is used. This will allow to understand whether _GTK_THEME_VARIANT is not supported or default variant is requested. https://bugzilla.gnome.org/show_bug.cgi?id=761476
This commit is contained in:
parent
7ac337a9af
commit
8eb2619888
@ -3728,7 +3728,8 @@ void
|
||||
gdk_x11_window_set_theme_variant (GdkWindow *window,
|
||||
char *variant)
|
||||
{
|
||||
gdk_x11_window_set_utf8_property (window, "_GTK_THEME_VARIANT", variant);
|
||||
gdk_x11_window_set_utf8_property (window, "_GTK_THEME_VARIANT",
|
||||
variant ? variant : "");
|
||||
}
|
||||
|
||||
#define GDK_SELECTION_MAX_SIZE(display) \
|
||||
|
Loading…
Reference in New Issue
Block a user