GApplication: add a "resource base path"

We don't use this for anything inside of GApplication yet, but Gtk is
about to start using it to find various bits of the application (such as
its menus, icons, etc.).

By default, we form the base path from the application ID to end up with
the familiar /org/example/app style.

https://bugzilla.gnome.org/show_bug.cgi?id=722092
This commit is contained in:
Ryan Lortie
2014-07-04 09:53:51 -04:00
parent 60226a0386
commit cea9de93c8
3 changed files with 113 additions and 0 deletions

View File

@@ -3016,6 +3016,9 @@ g_application_set_inactivity_timeout
g_application_get_flags
g_application_set_flags
<SUBSECTION>
g_application_get_resource_base_path
g_application_set_resource_base_path
<SUBSECTION>
g_application_get_dbus_connection
g_application_get_dbus_object_path
<SUBSECTION>