[gtksourceview/gtksourceview-4-8] build: fix documentation titles in gtk-doc
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/gtksourceview-4-8] build: fix documentation titles in gtk-doc
- Date: Tue, 22 Sep 2020 00:15:56 +0000 (UTC)
commit 5a26d4df704e5dc2526b88bb3a6c308353f712fa
Author: Christian Hergert <chergert redhat com>
Date: Mon Sep 21 17:14:53 2020 -0700
build: fix documentation titles in gtk-doc
gtksourceview/gtksourceutils.c | 2 +-
meson.build | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourceutils.c b/gtksourceview/gtksourceutils.c
index 9095aae5..9853284e 100644
--- a/gtksourceview/gtksourceutils.c
+++ b/gtksourceview/gtksourceutils.c
@@ -205,7 +205,7 @@ gtk_source_utils_escape_search_text (const gchar* text)
return g_string_free (str, FALSE);
}
-#define GSV_DATA_SUBDIR "gtksourceview-" GSV_API_VERSION
+#define GSV_DATA_SUBDIR "gtksourceview-" GSV_API_VERSION_S
gchar **
_gtk_source_utils_get_default_dirs (const gchar *basename)
diff --git a/meson.build b/meson.build
index 845bbec5..80c2236a 100644
--- a/meson.build
+++ b/meson.build
@@ -145,7 +145,8 @@ add_project_arguments([
], language: 'c')
config_h = configuration_data()
-config_h.set_quoted('GSV_API_VERSION', api_version)
+config_h.set('GSV_API_VERSION', api_version)
+config_h.set_quoted('GSV_API_VERSION_S', api_version)
config_h.set_quoted('GETTEXT_PACKAGE', package_string)
config_h.set_quoted('DATADIR', datadir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]