summaryrefslogtreecommitdiff
path: root/gtk/gtkcsslookup.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-14 16:58:52 +0100
committerBenjamin Otte <otte@redhat.com>2012-02-02 03:13:38 +0100
commite4c2d9b25958f608717bd79b49aef941b312fada (patch)
tree1b6ad3778b72067102349ecfabdfc62db5639608 /gtk/gtkcsslookup.c
parent4c8e9ee6b6f4049e34f16e889be7992862e4f029 (diff)
downloadgtk+-e4c2d9b25958f608717bd79b49aef941b312fada.tar.gz
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.
Diffstat (limited to 'gtk/gtkcsslookup.c')
-rw-r--r--gtk/gtkcsslookup.c2
1 files changed, 1 insertions, 1 deletions
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);
}
/**