projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c81a793
)
gdk: Fix g_set_str version check
author
Nirbheek Chauhan
<nirbheek@centricular.com>
Sun, 18 Dec 2022 05:42:34 +0000
(11:12 +0530)
committer
Nirbheek Chauhan
<nirbheek@centricular.com>
Sun, 18 Dec 2022 05:59:10 +0000
(11:29 +0530)
The function was added to glib in 2.75.1. This fixes gtk's build with
the glib main branch.
gdk/gdkprivate.h
patch
|
blob
|
history
diff --git
a/gdk/gdkprivate.h
b/gdk/gdkprivate.h
index 95013947435656cc4f8a20b334e39addea751370..b93e1800f5bcb5b8c88b4822f77bfa7b481762e0 100644
(file)
--- 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, 7
6, 0
)
+#if !GLIB_CHECK_VERSION (2, 7
5, 1
)
static inline gboolean
g_set_str (char **str_pointer,
const char *new_str)