]> spindle.queued.net Git - midori/commitdiff
Assemble a version without git revision for ident strings
authorChristian Dywan <christian@twotoasts.de>
Tue, 9 Dec 2008 01:22:58 +0000 (02:22 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 9 Dec 2008 01:22:58 +0000 (02:22 +0100)
midori/midori-websettings.c

index d61b704abcb9cc6d8e16cfd7966475ebb2dec3d6..b050021f0130c1598996250488f29e978d8e38f0 100644 (file)
@@ -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)
     {