From f44eb4db20fb1daff521deb742c1a4e88db3832a Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 7 Nov 2014 13:12:23 +0100 Subject: gsm: Add gtk-doc comments for two GsmClient functions Based on gnome-session commit: ebf9afaa10c7903694df5b2fee635a6dde5213a6 From: Vincent Untz --- mate-session/gsm-client.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'mate-session/gsm-client.c') diff --git a/mate-session/gsm-client.c b/mate-session/gsm-client.c index 14467d4..801e05c 100644 --- a/mate-session/gsm-client.c +++ b/mate-session/gsm-client.c @@ -365,6 +365,16 @@ gsm_client_peek_id (GsmClient *client) return client->priv->id; } +/** + * gsm_client_peek_app_id: + * @client: a #GsmClient. + * + * Note that the application ID might not be known; this happens when for XSMP + * clients that we did not start ourselves, for instance. + * + * Returns: the application ID of the client, or %NULL if no such ID is + * known. The string is owned by @client. + **/ const char * gsm_client_peek_app_id (GsmClient *client) { @@ -457,6 +467,13 @@ gsm_client_get_unix_process_id (GsmClient *client, return TRUE; } +/** + * gsm_client_get_app_name: + * @client: a #GsmClient. + * + * Returns: a copy of the application name of the client, or %NULL if no such + * name is known. + **/ char * gsm_client_get_app_name (GsmClient *client) { -- cgit v1.2.1