Commit 1c202994 authored by Debarshi Ray's avatar Debarshi Ray

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.
parent 8547d9f6
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment