wmusic: Remove version.h header file; use autoconf's PACKAGE_STRING instead

This commit is contained in:
Doug Torrance 2018-06-22 16:20:56 -04:00 committed by Carlos R. Mafra
parent a28f29d147
commit 2f2b84548d
2 changed files with 1 additions and 3 deletions

View file

@ -1 +0,0 @@
#define VERSION "@PACKAGE@ @VERSION@"

View file

@ -30,7 +30,6 @@
#include <locale.h> #include <locale.h>
#include <xmms/xmmsctrl.h> #include <xmms/xmmsctrl.h>
#include "version.h"
#include "wmusic-master.xpm" #include "wmusic-master.xpm"
#include "wmusic-digits.xpm" #include "wmusic-digits.xpm"
@ -710,7 +709,7 @@ int main(int argc, char **argv)
DAParseArguments(argc, argv, options, DAParseArguments(argc, argv, options,
sizeof(options)/sizeof(DAProgramOption), sizeof(options)/sizeof(DAProgramOption),
"XMMS remote control by Bastien Nocera <hadess@hadess.net>", "XMMS remote control by Bastien Nocera <hadess@hadess.net>",
VERSION); PACKAGE_STRING);
setlocale(LC_ALL, ""); setlocale(LC_ALL, "");
DAInitialize(displayName, "wmusic", 64, 64, argc, argv); DAInitialize(displayName, "wmusic", 64, 64, argc, argv);