[gtksourceview/wip/chergert/gsv-gtk4: 114/118] version: use 4.90 for 5.0 version numbers



commit 2cd9a4a3b4c1a4ef04f2c7db53c2790b7fb773e8
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]