mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
frames: default theme variant now is set as empty string
Related change in GTK+: https://git.gnome.org/browse/gtk+/commit/?id=8eb261988869608604c78ed90de5579beb4ef2b0 https://bugzilla.gnome.org/show_bug.cgi?id=761543
This commit is contained in:
parent
7adbb58736
commit
e5ce6192f4
@ -486,7 +486,7 @@ meta_ui_frame_attach_style (MetaUIFrame *frame)
|
||||
else
|
||||
variant = frame->meta_window->gtk_theme_variant;
|
||||
|
||||
if (variant == NULL || strcmp(variant, "normal") == 0)
|
||||
if (variant == NULL || *variant == '\0')
|
||||
frame->style_info = meta_style_info_ref (frames->normal_style);
|
||||
else
|
||||
frame->style_info = meta_style_info_ref (meta_frames_get_theme_variant (frames,
|
||||
|
Loading…
Reference in New Issue
Block a user