Merge branch 'nirbheek/fix-build-with-latest-glib' into 'main'

gdk: Fix g_set_str version check

See merge request GNOME/gtk!5348
This commit is contained in:
Matthias Clasen 2022-12-18 16:07:11 +00:00
commit 235f01952c

View File

@ -23,7 +23,7 @@ void gdk_source_set_static_name_by_id (guint tag,
#define I_(string) g_intern_static_string (string)
#endif
#if !GLIB_CHECK_VERSION (2, 76, 0)
#if !GLIB_CHECK_VERSION (2, 75, 1)
static inline gboolean
g_set_str (char **str_pointer,
const char *new_str)