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