commit: d918809562b2a16bfe246a6a1a8780ede37a5cd8
parent 5d0681c28107c3a18b552f270743940da40808c8
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 7 May 2019 09:24:46 +0200
badwolf.c: Add version information on launch
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/badwolf.c b/badwolf.c
@@ -10,6 +10,8 @@
#include <locale.h> /* LC_* */
#include <webkit2/webkit2.h>
+const gchar *version = "0.1.1";
+
struct Window
{
GtkWidget *main_window;
@@ -605,6 +607,7 @@ main(int argc, char *argv[])
bind_textdomain_codeset(PACKAGE, "UTF-8");
textdomain(PACKAGE);
+ g_fprintf(stderr, _("Running Badwolf version: %s\n"), version);
g_fprintf(stderr,
_("Buildtime WebKit version: %d.%d.%d\n"),
WEBKIT_MAJOR_VERSION,