aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2004-07-15 21:09:33 +0000
committerGerald Combs <gerald@wireshark.org>2004-07-15 21:09:33 +0000
commit8106dc0862460d3447a5f9da6d3362a13b7344aa (patch)
treed9f5b21b77dc3f49f9decb45cadfe364bbd9fcfd /gtk
parentb5384b0bd370c891b325b285411d0380a28acda0 (diff)
Convert make-version.pl and the associated cvsversion.h and CVSVERSION
definition to Subversion. "svn info" prints out the last changed date of the repository, so we don't have to go hunting through "CVS/Entries" files anymore. svn path=/trunk/; revision=11379
Diffstat (limited to 'gtk')
-rw-r--r--gtk/about_dlg.c6
-rw-r--r--gtk/main.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/gtk/about_dlg.c b/gtk/about_dlg.c
index 94783d2512..4c99412519 100644
--- a/gtk/about_dlg.c
+++ b/gtk/about_dlg.c
@@ -41,7 +41,7 @@
#endif
#include "webbrowser.h"
-#include "cvsversion.h"
+#include "svnversion.h"
#include "../image/eicon3d64.xpm"
#include "gtkglobals.h"
@@ -156,8 +156,8 @@ about_ethereal_page_new(void)
about_ethereal(top_level, main_vb, title);
msg_label = gtk_label_new("Version " VERSION
-#ifdef CVSVERSION
- " (" CVSVERSION ")"
+#ifdef SVNVERSION
+ " (" SVNVERSION ")"
#endif
" (C) 1998-2004 Gerald Combs <gerald@ethereal.com>\n\n");
gtk_container_add(GTK_CONTAINER(main_vb), msg_label);
diff --git a/gtk/main.c b/gtk/main.c
index cd5c8cd804..d0a3744d02 100644
--- a/gtk/main.c
+++ b/gtk/main.c
@@ -80,7 +80,7 @@
#include <epan/resolv.h>
/* general (not GTK specific) */
-#include "cvsversion.h"
+#include "svnversion.h"
#include "file.h"
#include "summary.h"
#include "filters.h"
@@ -957,8 +957,8 @@ print_usage(gboolean print_ver) {
if (print_ver) {
output = stdout;
fprintf(output, "This is GNU " PACKAGE " " VERSION
-#ifdef CVSVERSION
- " (" CVSVERSION ")"
+#ifdef SVNVERSION
+ " (" SVNVERSION ")"
#endif
"\n%s\n\n%s\n",
comp_info_str->str, runtime_info_str->str);
@@ -994,8 +994,8 @@ show_version(void)
#endif
printf(PACKAGE " " VERSION
-#ifdef CVSVERSION
- " (" CVSVERSION ")"
+#ifdef SVNVERSION
+ " (" SVNVERSION ")"
#endif
"\n%s\n\n%s\n",
comp_info_str->str, runtime_info_str->str);