From d3e06883f167ca2956ef8ef624b0268cffaac659 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Tue, 20 Feb 2018 23:18:30 +0100 Subject: [PATCH] Include girara build and runtime version Signed-off-by: Sebastian Ramacher --- zathura/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zathura/utils.c b/zathura/utils.c index 9aeaff3..bd19131 100644 --- a/zathura/utils.c +++ b/zathura/utils.c @@ -194,7 +194,8 @@ zathura_get_version_string(zathura_t* zathura, bool markup) GString* string = g_string_new(NULL); /* zathura version */ - g_string_append_printf(string, "zathura %d.%d.%d", ZATHURA_VERSION_MAJOR, ZATHURA_VERSION_MINOR, ZATHURA_VERSION_REV); + g_string_append(string, "zathura " ZATHURA_VERSION); + g_string_append_printf(string, "\ngirara " GIRARA_VERSION " (runtime: %s)", girara_version()); const char* format = (markup == true) ? "\n(plugin) %s (%d.%d.%d) (%s)" : "\n(plugin) %s (%d.%d.%d) (%s)";