From e289f105ae6be7f8f46cbd4c741c1da99b2a5c6f Mon Sep 17 00:00:00 2001 From: Daemonratte Date: Sun, 10 May 2026 13:16:49 +0200 Subject: [PATCH] gdk: document bitmap constructor return type --- gdk/gdkpixmap.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gdk/gdkpixmap.c b/gdk/gdkpixmap.c index 8ee6c28d4..5bda8dd63 100644 --- a/gdk/gdkpixmap.c +++ b/gdk/gdkpixmap.c @@ -249,6 +249,17 @@ gdk_pixmap_new (GdkDrawable *drawable, return _gdk_pixmap_new (source_drawable, width, height, depth); } +/** + * gdk_bitmap_create_from_data: + * @drawable: a #GdkDrawable, used to determine default values for the new bitmap + * @data: a pointer to the data + * @width: width of the new bitmap in pixels + * @height: height of the new bitmap in pixels + * + * Creates a new bitmap from data in XBM format. + * + * Returns: (type GdkPixmap) (transfer full): the newly-created bitmap + */ GdkPixmap * gdk_bitmap_create_from_data (GdkDrawable *drawable, const gchar *data,