gdk: document Xlib returns as opaque pointers

This commit is contained in:
Daemonratte 2026-05-10 13:24:26 +02:00
commit fa307cbc3d
3 changed files with 4 additions and 4 deletions

View file

@ -748,7 +748,7 @@ gdk_x11_image_destroy (GdkImage *image)
*
* Returns the display of a #GdkImage.
*
* Return value: an Xlib <type>Display*</type>.
* Returns: (type gpointer) (transfer none): an Xlib <type>Display*</type>.
**/
Display *
gdk_x11_image_get_xdisplay (GdkImage *image)
@ -768,7 +768,7 @@ gdk_x11_image_get_xdisplay (GdkImage *image)
*
* Returns the X image belonging to a #GdkImage.
*
* Return value: an <type>XImage*</type>.
* Returns: (type gpointer) (transfer none): an Xlib <type>XImage*</type>.
**/
XImage *
gdk_x11_image_get_ximage (GdkImage *image)

View file

@ -744,7 +744,7 @@ gdk_x11_get_default_root_xwindow (void)
*
* Gets the default GTK+ display.
*
* Return value: the Xlib <type>Display*</type> for the display
* Returns: (type gpointer) (transfer none): the default Xlib <type>Display*</type>.
* specified in the <option>--display</option> command line option
* or the <envar>DISPLAY</envar> environment variable.
**/

View file

@ -647,7 +647,7 @@ gdk_visual_equal (Visual *a,
*
* Returns the X visual belonging to a #GdkVisual.
*
* Return value: an Xlib <type>Visual*</type>.
* Returns: (type gpointer) (transfer none): an Xlib <type>Visual*</type>.
**/
Visual *
gdk_x11_visual_get_xvisual (GdkVisual *visual)