[frogr/meson: 2/4] Use PACKAGE_NAME and PACKAGE_VERSION, instead of PACKAGE and VERSION



commit a58862a2e85ccdb03601919acfcdd6993f54c65a
Author: Mario Sanchez Prada <msanchez gnome org>
Date:   Tue May 23 12:59:48 2017 +0100

    Use PACKAGE_NAME and PACKAGE_VERSION, instead of PACKAGE and VERSION
    
    We will be using this definitions when migrating to meson.

 src/frogr-about-dialog.c |    4 ++--
 src/frogr-global-defs.h  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/frogr-about-dialog.c b/src/frogr-about-dialog.c
index 6981d3b..08ceb3e 100644
--- a/src/frogr-about-dialog.c
+++ b/src/frogr-about-dialog.c
@@ -56,11 +56,11 @@ frogr_about_dialog_show (GtkWindow *parent)
   logo = gdk_pixbuf_new_from_file (icon_full_path, NULL);
   g_free (icon_full_path);
 
-  version = g_strdup_printf ("%s~unreleased", VERSION);
+  version = g_strdup_printf ("%s~unreleased", PACKAGE_VERSION);
 
   /* Show about dialog */
   gtk_show_about_dialog (GTK_WINDOW (parent),
-                         "name", PACKAGE,
+                         "name", PACKAGE_NAME,
                          "authors", authors,
                          "artists", artists,
                          "comments", _(appdescr),
diff --git a/src/frogr-global-defs.h b/src/frogr-global-defs.h
index 7d5bd13..afc2bee 100644
--- a/src/frogr-global-defs.h
+++ b/src/frogr-global-defs.h
@@ -24,8 +24,8 @@
 #include <config.h>
 
 #define APP_NAME N_("Flickr Remote Organizer")
-#define APP_SHORTNAME PACKAGE
-#define APP_VERSION VERSION
+#define APP_SHORTNAME PACKAGE_NAME
+#define APP_VERSION PACKAGE_VERSION
 #define APP_ID "org.gnome.frogr"
 
 /* Max width and heigth for pictures in the icon view.


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