[bijiben] aboutDialog: use @version@ instead hardcode it



commit 832dd76965b72338e0b0973b517868084e09c184
Author: Pierre-Yves Luyten <py luyten fr>
Date:   Sat Dec 22 00:49:30 2012 +0100

    aboutDialog: use @version@ instead hardcode it

 src/bjb-app-menu.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/bjb-app-menu.c b/src/bjb-app-menu.c
index e9d00ec..03f7255 100644
--- a/src/bjb-app-menu.c
+++ b/src/bjb-app-menu.c
@@ -14,6 +14,8 @@
  * You should have received a copy of the GNU General Public License along
  * with this program.  If not, see <http://www.gnu.org/licenses/>.*/
 
+#include "config.h"
+
 #include <glib/gi18n.h>
 
 #include "bjb-app-menu.h"
@@ -32,7 +34,7 @@ void show_about_dialog(GtkApplication *app)
   "program-name", "Bijiben",
   "comments", "Simple noteboook for GNOME",
   "license", "GPLv3",
-  "version", "3.7.3",
+  "version", VERSION,
   "copyright", "Pierre-Yves Luyten 2012",
   NULL,NULL,NULL);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]