logo

badwolf

Minimalist and privacy-oriented WebKitGTK+ browser
commit: caa5d088a9540ac18e2ff36b55e5bc522d9dd8a4
parent: 2877c957673fbb1c1c6b6c96fb12ccf8d393542d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 28 Mar 2019 20:23:51 +0100

badwolf.c: Add Buildtime and Runtime WebKit version information via stderr

Diffstat:

Mbadwolf.c11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/badwolf.c b/badwolf.c @@ -463,6 +463,17 @@ int main(int argc, char *argv[]) struct Window *window = g_malloc(sizeof(struct Client)); gchar *target_url = NULL; + g_fprintf(stderr, + "Buildtime WebKit version: %d.%d.%d\n", + WEBKIT_MAJOR_VERSION, + WEBKIT_MINOR_VERSION, + WEBKIT_MICRO_VERSION); + g_fprintf(stderr, + "Runtime WebKit version: %d.%d.%d\n", + webkit_get_major_version(), + webkit_get_minor_version(), + webkit_get_micro_version()); + gtk_init(&argc, &argv); if(argv[1]) target_url = argv[1];