mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
gdk: Fix g_set_str version check
The function was added to glib in 2.75.1. This fixes gtk's build with the glib main branch.
This commit is contained in:
parent
c81a793f63
commit
e2291259bb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user