Tiny docs improvement

Mention that gdk_xid_table_lookup may return  NULL. Bug 591432.
This commit is contained in:
Matthias Clasen 2009-08-17 09:16:12 -04:00
parent 30ffad76f5
commit be83e8789c

View File

@ -84,7 +84,9 @@ _gdk_xid_table_remove (GdkDisplay *display,
*
* Returns the GDK object associated with the given X id.
*
* Returns: a GDK object associated with the given X id.
* Return value: the associated Gdk object, which may be a #GdkPixmap,
* a #GdkWindow or a #GdkFont or %NULL if no object is associated
* with the X id.
*
* Since: 2.2
*/
@ -110,11 +112,13 @@ gdk_xid_table_lookup_for_display (GdkDisplay *display,
* gdk_xid_table_lookup:
* @xid: an X id.
*
* Returns the Gdk object associated with the given X id.
* Returns the Gdk object associated with the given X id for the default
* display.
*
* Return value: the associated Gdk object, which may be a #GdkPixmap,
* a #GdkWindow or a #GdkFont.
**/
* a #GdkWindow or a #GdkFont or %NULL if no object is associated
* with the X id.
*/
gpointer
gdk_xid_table_lookup (XID xid)
{