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.
This commit is contained in:
Benjamin Otte 2012-01-14 16:58:52 +01:00
parent 4c8e9ee6b6
commit e4c2d9b259

View File

@ -72,7 +72,7 @@ _gtk_css_lookup_is_missing (const GtkCssLookup *lookup,
{ {
g_return_val_if_fail (lookup != NULL, FALSE); g_return_val_if_fail (lookup != NULL, FALSE);
return lookup->values[id].value == NULL; return _gtk_bitmask_get (lookup->missing, id);
} }
/** /**