[mutter] frames: default theme variant now is set as empty string
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] frames: default theme variant now is set as empty string
- Date: Thu, 4 Feb 2016 14:02:37 +0000 (UTC)
commit e5ce6192f47173888cbb153ddeeccf7722bb84b1
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Feb 4 15:23:16 2016 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 961ecac..b7f6ab9 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]