summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-27 15:57:45 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-27 15:57:45 (EDT)
commitf62c467258e0261811a2e61d56af5ad4cc5a030a (patch)
tree57f7d4ecc26e4a74cb3d60f2717ee1127d5c66ee /src/main.c
parente13d451da2d039049416486270033a1335e6ed4a (diff)
downloadmarquee-f62c467258e0261811a2e61d56af5ad4cc5a030a.zip
marquee-f62c467258e0261811a2e61d56af5ad4cc5a030a.tar.gz
marquee-f62c467258e0261811a2e61d56af5ad4cc5a030a.tar.bz2
main(): Use PACKAGE_VERSION_GIT from temporary version.c
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 277dbd3..c03ff66 100644
--- a/src/main.c
+++ b/src/main.c
@@ -29,6 +29,8 @@
#include "application.h"
+extern const char *PACKAGE_VERSION_GIT;
+
static gchar *opt_profile;
static gboolean opt_private;
static gboolean opt_version;
@@ -68,7 +70,7 @@ main(int argc, char *argv[])
}
if (G_UNLIKELY(opt_version)) {
- g_print("%s %s\n", PACKAGE_NAME, PACKAGE_VERSION);
+ g_print("%s %s\n", PACKAGE_NAME, PACKAGE_VERSION_GIT);
g_print("Copyright (C) %s %s\n", "2017", "Patrick McDermott");
g_print("License GPLv3+: GNU GPL version 3 or later "
"<http://gnu.org/licenses/gpl.html>.\n"