wmbutton: Use version number from autoconf.

This commit is contained in:
Doug Torrance 2017-07-15 23:54:48 -04:00 committed by Carlos R. Mafra
parent 8ba7f5d982
commit 726e538471
2 changed files with 1 additions and 4 deletions

View file

@ -108,7 +108,7 @@ void show_usage(void)
fprintf(stderr, "usage: %s [-g geom] [-d dpy] [-f cfgfile] [-b btnfile] "\
"[-F <font>] [-v] [-s] [-n]\n",app_name);
fprintf(stderr, "\n");
fprintf(stderr, " wmbutton version %s\n", VER_STR);
fprintf(stderr, " wmbutton version %s\n", PACKAGE_VERSION);
fprintf(stderr, "\n");
fprintf(stderr, "-g <geometry> Window Geometry - ie: 64x64+10+10\n");
fprintf(stderr, "-d <display> Display - ie: 127.0.0.1:0.0\n");

View file

@ -19,9 +19,6 @@
#define CONFIGGLOBAL "/etc/wmbutton.conf" /* system configuration */
#define BUTTONFILENAME "/.wmbutton.xpm"
/****** Version Number *************************************************/
#define VER_STR "0.7.0" /* Version Number String */
/****** Define Error Codes *********************************************/
#define FAILDISP 20
#define FAILSWIN 21