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
This commit is contained in:
Jasper St. Pierre 2013-05-07 02:51:02 -04:00
parent 14ceb10555
commit eb80503bcc

View File

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