[gnome-photos] application: Don't use PACKAGE_NAME
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] application: Don't use PACKAGE_NAME
- Date: Fri, 17 Aug 2018 17:42:13 +0000 (UTC)
commit 1c20299478b184701290cdd1f898ff2d3405555d
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Aug 17 19:28:02 2018 +0200
application: Don't use PACKAGE_NAME
Due to various limitations of the internationalization infrastructure,
it's not possible to use PACKAGE_NAME to parametrize the user-visible
"Photos" string. Since this is the last occurence of PACKAGE_NAME in
the code, it's better to give up on the idea. That way the upcoming
Meson build wouldn't have to define a PACKAGE_NAME macro.
src/photos-application.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 28b33f70..fbf81341 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -2,7 +2,7 @@
* Photos - access, organize and share your photos on GNOME
* Copyright © 2015 Alessandro Bono
* Copyright © 2014 – 2015 Pranav Kant
- * Copyright © 2012 – 2017 Red Hat, Inc.
+ * Copyright © 2012 – 2018 Red Hat, Inc.
* Copyright © 2016 Umang Jain
*
* This program is free software: you can redistribute it and/or modify
@@ -3092,9 +3092,7 @@ photos_application_search_context_iface_init (PhotosSearchContextInterface *ifac
GApplication *
photos_application_new (void)
{
- return g_object_new (PHOTOS_TYPE_APPLICATION,
- "application-id", "org.gnome." PACKAGE_NAME,
- NULL);
+ return g_object_new (PHOTOS_TYPE_APPLICATION, "application-id", "org.gnome.Photos", NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]