From 07f63209fe008241ff641baad38ae12c843984e9 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 15 Apr 2009 12:14:18 +0200 Subject: improve documentation for sn_display_get_x_connection() Signed-off-by: Julien Danjou --- libsn/sn-common.c | 4 ++++ 1 file changed, 4 insertions(+) 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(). * * * -- cgit v1.2.3