forked from AuroraMiddleware/gtk
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:
parent
4c8e9ee6b6
commit
e4c2d9b259
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user