mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 00:06:24 +01:00
Fix is_valid() API
Actually dereference the pointer instead of just checking for NULL
This commit is contained in:
parent
df40747190
commit
d63f199d92
@ -548,7 +548,7 @@ gvdb_table_unref (GvdbTable *file)
|
||||
gboolean
|
||||
gvdb_table_is_valid (GvdbTable *table)
|
||||
{
|
||||
return !!table->data;
|
||||
return !!*table->data;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user