summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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().
*
*
*