summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2009-04-15 12:14:18 +0200
committerJulien Danjou <julien@danjou.info>2009-04-15 12:14:18 +0200
commit07f63209fe008241ff641baad38ae12c843984e9 (patch)
tree4b48ba51c5596e22d8508cc86631e62c10c29155
parent5fe24d27908dd25e20f77644f1405e1ab8c0e45d (diff)
improve documentation for sn_display_get_x_connection()
Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r--libsn/sn-common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libsn/sn-common.c b/libsn/sn-common.c
index be48317..3771f1f 100644
--- a/libsn/sn-common.c
+++ b/libsn/sn-common.c
@@ -188,6 +188,8 @@ sn_display_unref (SnDisplay *display)
/**
* sn_display_get_x_display:
* @display: an #SnDisplay
+ * This function only returns a value if the SnDisplay
+ * has been created with sn_display_new().
*
*
*
@@ -204,6 +206,8 @@ sn_display_get_x_display (SnDisplay *display)
/**
* sn_display_get_x_connection:
* @display: an #SnDisplay
+ * This function only returns a value if the SnDisplay
+ * has been created with sn_xcb_display_new().
*
*
*