From e4c2d9b25958f608717bd79b49aef941b312fada Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 14 Jan 2012 16:58:52 +0100 Subject: [PATCH] csslookup: Query the bitmask Checking if the value is NULL is the wrong thing to do - the bitmask is usd to keep track of that. The reason for that will become apparent in the next patch. --- gtk/gtkcsslookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcsslookup.c b/gtk/gtkcsslookup.c index 76bdb484d3..fce852845a 100644 --- a/gtk/gtkcsslookup.c +++ b/gtk/gtkcsslookup.c @@ -72,7 +72,7 @@ _gtk_css_lookup_is_missing (const GtkCssLookup *lookup, { g_return_val_if_fail (lookup != NULL, FALSE); - return lookup->values[id].value == NULL; + return _gtk_bitmask_get (lookup->missing, id); } /**