[gtksourceview/wip/chergert/snippets: 3/3] version: use 4.90 for 5.0 version numbers
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/snippets: 3/3] version: use 4.90 for 5.0 version numbers
- Date: Sat, 18 Jan 2020 00:13:17 +0000 (UTC)
commit d260467cb5be06420874f30ea21b45d1c6cc929a
Author: Christian Hergert <chergert redhat com>
Date: Fri Jan 17 16:12:38 2020 -0800
version: use 4.90 for 5.0 version numbers
This ensures that we don't get internal warnings and so that we can
accurately set version numbers on functions.
gtksourceview/gtksourceversion.h.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourceversion.h.in b/gtksourceview/gtksourceversion.h.in
index c56a36d5..5c13fb80 100644
--- a/gtksourceview/gtksourceversion.h.in
+++ b/gtksourceview/gtksourceversion.h.in
@@ -233,7 +233,7 @@ G_BEGIN_DECLS
*
* Since: 5.0
*/
-#define GTK_SOURCE_VERSION_5_0 (G_ENCODE_VERSION (5, 0))
+#define GTK_SOURCE_VERSION_5_0 (G_ENCODE_VERSION (4, 90))
/* Define GTK_SOURCE_VERSION_CUR_STABLE */
#ifndef __GTK_DOC_IGNORE__
@@ -570,7 +570,7 @@ G_BEGIN_DECLS
#ifndef __GTK_DOC_IGNORE__
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_5_0
-#define GTK_SOURCE_AVAILABLE_IN_5_0 G_UNAVAILABLE(5, 0) _GTK_SOURCE_EXTERN
+#define GTK_SOURCE_AVAILABLE_IN_5_0 G_UNAVAILABLE(4, 90) _GTK_SOURCE_EXTERN
#else
#define GTK_SOURCE_AVAILABLE_IN_5_0 _GTK_SOURCE_EXTERN
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]