Increase the required version of glib to 2.80.0
We'll need this for G_MUTEX_AUTO_LOCK(). It basically does
g_autoptr (GMutexLocker) G_GNUC_UNUSED var = g_mutex_locker_new (mutex)
which will let us remove static-scan's warnings about assigned
variables that are never read, e.g. it complains about "locker" here:
g_autoptr (GMutexLocker) locker = g_mutex_locker_new (&priv->shared.mutex);
The whole point of GMutexLocker is to be used with g_autoptr for a
mutex that is unlocked when its scope ends.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/581>
This commit is contained in:
committed by
Marge Bot
parent
6c38c00156
commit
384411b33a
+1
-1
@@ -165,7 +165,7 @@ libedataserver_dep = dependency('libedataserver-1.2', version: '>= 3.45.1')
|
||||
libecal_dep = dependency('libecal-2.0', version: '>= 3.45.1')
|
||||
libsoup_dep = dependency('libsoup-3.0')
|
||||
libadwaita_dep = dependency('libadwaita-1', version: '>= 1.7.alpha')
|
||||
glib_dep = dependency('glib-2.0', version: '>= 2.67.5')
|
||||
glib_dep = dependency('glib-2.0', version: '>= 2.80.0')
|
||||
gtk_dep = dependency('gtk4', version: '>= 4.15.2')
|
||||
gio_dep = dependency('gio-2.0', version: '>= 2.58.0')
|
||||
gweather_dep = dependency('gweather4')
|
||||
|
||||
Reference in New Issue
Block a user