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:
Alberts Muktupāvels 2016-02-04 15:23:16 +02:00
parent 7adbb58736
commit e5ce6192f4

View File

@ -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,