From 89ac82d0d633b84131e9dad2f2df502c725df233 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 9 Dec 2008 02:22:58 +0100 Subject: [PATCH] Assemble a version without git revision for ident strings --- midori/midori-websettings.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c index d61b704a..b050021f 100644 --- a/midori/midori-websettings.c +++ b/midori/midori-websettings.c @@ -777,9 +777,12 @@ generate_ident_string (MidoriIdentity identify_as) "Unknown"; #endif - const gchar* appname = "Midori/" PACKAGE_VERSION; + const gchar* appname = "Midori/" + G_STRINGIFY (MIDORI_MAJOR_VERSION) "." + G_STRINGIFY (MIDORI_MINOR_VERSION) "." + G_STRINGIFY (MIDORI_MICRO_VERSION); - const gchar* lang = pango_language_to_string ( gtk_get_default_language ()); + const gchar* lang = pango_language_to_string (gtk_get_default_language ()); switch (identify_as) {