From: Christian Dywan Date: Tue, 9 Dec 2008 01:22:58 +0000 (+0100) Subject: Assemble a version without git revision for ident strings X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89ac82d0d633b84131e9dad2f2df502c725df233;p=midori Assemble a version without git revision for ident strings --- 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) {