diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-12-18 11:12:34 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-12-18 11:29:10 +0530 |
commit | e2291259bb93da87197418ea83b34d8c34a003a2 (patch) | |
tree | db66b3781447aa8c589996f61a6a3d54e08c1bcf | |
parent | c81a793f634b23b04b6dd783f568ff0738eb9bce (diff) | |
download | gtk+-e2291259bb93da87197418ea83b34d8c34a003a2.tar.gz |
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.
-rw-r--r-- | gdk/gdkprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkprivate.h b/gdk/gdkprivate.h index 9501394743..b93e1800f5 100644 --- a/gdk/gdkprivate.h +++ b/gdk/gdkprivate.h @@ -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) |