Fix is_valid() API

Actually dereference the pointer instead of just checking for NULL
This commit is contained in:
Ryan Lortie 2010-07-18 21:43:18 -04:00
parent df40747190
commit d63f199d92

View File

@ -548,7 +548,7 @@ gvdb_table_unref (GvdbTable *file)
gboolean
gvdb_table_is_valid (GvdbTable *table)
{
return !!table->data;
return !!*table->data;
}
void