[gnome-shell] st-theme-node: Make sure that two NULL paint states are not equal



commit eb80503bcc5f10811542b7c5094fc10ddfc67b4e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue May 7 02:51:02 2013 -0400

    st-theme-node: Make sure that two NULL paint states are not equal
    
    The comment clearly intended that for this to be the case, but a typo
    prevented this from actually being done. This fixes the focused state
    of the search field not working more than once.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699799

 src/st/st-theme-node.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/st/st-theme-node.c b/src/st/st-theme-node.c
index 51355a3..e4eddcf 100644
--- a/src/st/st-theme-node.c
+++ b/src/st/st-theme-node.c
@@ -3821,7 +3821,7 @@ st_theme_node_paint_equal (StThemeNode *node,
 
   /* Make sure NULL != NULL */
   if (node == NULL || other == NULL)
-    return TRUE;
+    return FALSE;
 
   if (node == other)
     return TRUE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]