From 089f36853fa14deafe8fe62aa772372dc449bac5 Mon Sep 17 00:00:00 2001 From: David Hampton Date: Fri, 28 Jun 2002 22:51:04 +0000 Subject: [PATCH] Use the actual version number. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7047 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome/gnc-splash.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gnome/gnc-splash.c b/src/gnome/gnc-splash.c index 1800ce0893..9b66eb5e3c 100644 --- a/src/gnome/gnc-splash.c +++ b/src/gnome/gnc-splash.c @@ -57,6 +57,7 @@ gnc_show_splash_screen (void) GtkWidget *vbox; GtkWidget *hbox; GtkWidget *version; + gchar ver_string[50]; if (splash) return; @@ -80,7 +81,8 @@ gnc_show_splash_screen (void) frame = gtk_frame_new (NULL); vbox = gtk_vbox_new (FALSE, 3); hbox = gtk_hbox_new (FALSE, 0); - version = gtk_label_new ("Version: Gnucash-CVS"); + sprintf(ver_string, "Version: Gnucash-%s", VERSION); + version = gtk_label_new (ver_string); gtk_container_add (GTK_CONTAINER (frame), pixmap); gtk_box_pack_end (GTK_BOX (hbox), version, TRUE, TRUE, 0);