mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2026-01-03 23:49:04 +00:00
util: fix glib_check_version() condition
glib_check_version() returns NULL if version is higher or equal.
This commit is contained in:
parent
b707b4524f
commit
48d8fa788d
@ -283,7 +283,7 @@ static void log_handler(const gchar *log_domain,
|
||||
const gchar *message,
|
||||
gpointer unused_data)
|
||||
{
|
||||
if (!glib_check_version(2, 32, 0))
|
||||
if (glib_check_version(2, 32, 0) != NULL)
|
||||
if (log_level >= G_LOG_LEVEL_DEBUG && !doDebug)
|
||||
return;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user