From e5ce6192f47173888cbb153ddeeccf7722bb84b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Thu, 4 Feb 2016 15:23:16 +0200 Subject: [PATCH] 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 --- src/ui/frames.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/frames.c b/src/ui/frames.c index 961ecac66..b7f6ab962 100644 --- a/src/ui/frames.c +++ b/src/ui/frames.c @@ -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,