[gtk+] Make key themes work again
- From: Matthias Clasen <matthiasc src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gtk+] Make key themes work again
 
- Date: Wed,  8 May 2013 14:20:58 +0000 (UTC)
 
commit c77e12a215ab20fb311c8d62c9ffd3119bb6d294
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed May 8 10:19:08 2013 -0400
    Make key themes work again
    
    This was inadvertedly broken in commit
    44ba5d253f5bbda2d5a42c58218ad2aa318256f4.
    Thanks to Matthew Francis for tracking this down and providing
    a fix in https://bugzilla.gnome.org/show_bug.cgi?id=699901
 gtk/gtkcssstylepropertyimpl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c
index ea3cb36..c189ea6 100644
--- a/gtk/gtkcssstylepropertyimpl.c
+++ b/gtk/gtkcssstylepropertyimpl.c
@@ -476,7 +476,7 @@ bindings_value_parse_one (GtkCssParser *parser)
       return NULL;
     }
 
-  if (g_ascii_strcasecmp (name, "none"))
+  if (g_ascii_strcasecmp (name, "none") == 0)
     {
       name = NULL;
     }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]