Commit 52bb8e58 authored by Zeeshan Ali's avatar Zeeshan Ali

service-client: Add gclue_service_client_get_peer()

Add getter for GClueServiceClient:peer.
parent 701dc88c
......@@ -496,3 +496,11 @@ gclue_service_client_get_path (GClueServiceClient *client)
return client->priv->path;
const gchar *
gclue_service_client_get_peer (GClueServiceClient *client)
g_return_val_if_fail (GCLUE_IS_SERVICE_CLIENT(client), NULL);
return client->priv->peer;
......@@ -59,6 +59,7 @@ GClueServiceClient * gclue_service_client_new (const char *peer,
GDBusConnection *connection,
GError **error);
const char * gclue_service_client_get_path (GClueServiceClient *client);
const char * gclue_service_client_get_peer (GClueServiceClient *client);
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