[almanah] src: Use PACKAGE_URL in about dialogue
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [almanah] src: Use PACKAGE_URL in about dialogue
- Date: Wed, 21 Sep 2016 04:21:00 +0000 (UTC)
commit ede74d1ed28e3527a862d5c64c79d3f4208afa25
Author: Philip Withnall <philip withnall collabora co uk>
Date: Tue Sep 20 21:15:53 2016 -0700
src: Use PACKAGE_URL in about dialogue
To avoid hard-coding the URI in two places, since it is already
specified in configure.ac.
src/application.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/application.c b/src/application.c
index e7ab9df..9b0adb8 100644
--- a/src/application.c
+++ b/src/application.c
@@ -17,6 +17,8 @@
* along with Almanah. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <config.h>
+
#include <stdlib.h>
#include <glib.h>
#include <glib/gi18n.h>
@@ -561,7 +563,7 @@ action_about_cb (GSimpleAction *action, GVariant *parameter, gpointer user_data)
"license", license,
"wrap-license", TRUE,
"website-label", _("Almanah Website"),
- "website", "http://live.gnome.org/Almanah_Diary",
+ "website", PACKAGE_URL,
NULL);
g_free (license);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]