mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-30 12:54:11 +02:00
GApplication: add accessor for DBus information
Provide public access to the GDBusConnect and object path that GApplication is using. Prevents others from having to guess these things for themselves based on the application ID. https://bugzilla.gnome.org/show_bug.cgi?id=671249
This commit is contained in:
@@ -105,6 +105,11 @@ const gchar * g_application_get_application_id (GApplic
|
||||
void g_application_set_application_id (GApplication *application,
|
||||
const gchar *application_id);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_34
|
||||
GDBusConnection * g_application_get_dbus_connection (GApplication *application);
|
||||
GLIB_AVAILABLE_IN_2_34
|
||||
const gchar * g_application_get_dbus_object_path (GApplication *application);
|
||||
|
||||
guint g_application_get_inactivity_timeout (GApplication *application);
|
||||
void g_application_set_inactivity_timeout (GApplication *application,
|
||||
guint inactivity_timeout);
|
||||
|
Reference in New Issue
Block a user