mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 04:28:05 +02: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
|
gboolean
|
||||||
gvdb_table_is_valid (GvdbTable *table)
|
gvdb_table_is_valid (GvdbTable *table)
|
||||||
{
|
{
|
||||||
return !!table->data;
|
return !!*table->data;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user