gdk: fix pixmap and drawable impl annotations

This commit is contained in:
Daemonratte 2026-05-10 11:48:29 +02:00
commit 0c7c29afd2
2 changed files with 13 additions and 1 deletions

View file

@ -744,7 +744,7 @@ gdk_pixmap_colormap_create_from_xpm (GdkDrawable *drawable,
* gdk_pixmap_create_from_xpm:
* @drawable: a #GdkDrawable, used to determine default values
* for the new pixmap.
* @mask: (out) a pointer to a place to store a bitmap representing
* @mask: (out): a pointer to a place to store a bitmap representing
* the transparency mask of the XPM file. Can be %NULL,
* in which case transparency will be ignored.
* @transparent_color: the color to be used for the pixels

View file

@ -40,7 +40,19 @@ extern Display *gdk_display;
Display *gdk_x11_drawable_get_xdisplay (GdkDrawable *drawable);
XID gdk_x11_drawable_get_xid (GdkDrawable *drawable);
/**
* gdk_x11_window_get_drawable_impl:
* @window: a #GdkWindow
*
* Returns: (transfer none): the drawable implementation for @window
*/
GdkDrawable *gdk_x11_window_get_drawable_impl (GdkWindow *window);
/**
* gdk_x11_pixmap_get_drawable_impl:
* @pixmap: a #GdkPixmap
*
* Returns: (transfer none): the drawable implementation for @pixmap
*/
GdkDrawable *gdk_x11_pixmap_get_drawable_impl (GdkPixmap *pixmap);
Display *gdk_x11_image_get_xdisplay (GdkImage *image);
XImage *gdk_x11_image_get_ximage (GdkImage *image);