From fdf98223a7219a698d0795b8acfa2064999061be Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Sun, 25 Apr 2010 20:28:31 +0800 Subject: [PATCH] Use macro VERION --- src/Main.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Main.cc b/src/Main.cc index 6650660..c53f44b 100644 --- a/src/Main.cc +++ b/src/Main.cc @@ -1,5 +1,8 @@ /* vim:set et sts=4: */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include #include @@ -54,7 +57,7 @@ start_component (void) component = ibus_component_new ("org.freedesktop.IBus.Pinyin", N_("Pinyin input method"), - "0.1.0", + VERSION, "GPL", "Peng Huang ", "http://code.google.com/p/ibus/", -- 2.7.4