diff options
author | infirit <[email protected]> | 2014-11-07 13:12:23 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-07 14:31:51 +0100 |
commit | f44eb4db20fb1daff521deb742c1a4e88db3832a (patch) | |
tree | 571221b6767b6abbff9defd6c5782a8dcc307156 | |
parent | 90fa18f8e2081340c17a1a7176d22cbd4f7c4d6d (diff) | |
download | mate-session-manager-f44eb4db20fb1daff521deb742c1a4e88db3832a.tar.bz2 mate-session-manager-f44eb4db20fb1daff521deb742c1a4e88db3832a.tar.xz |
gsm: Add gtk-doc comments for two GsmClient functions
Based on gnome-session commit: ebf9afaa10c7903694df5b2fee635a6dde5213a6
From: Vincent Untz <[email protected]>
-rw-r--r-- | mate-session/gsm-client.c | 17 |
1 files changed, 17 insertions, 0 deletions
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) { |