[gtk+] Another small doc cleanup
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Another small doc cleanup
- Date: Tue, 23 Mar 2010 03:22:10 +0000 (UTC)
commit 3ed737e5fc9c3339e08eefb98bdfc12eecf6665c
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Mar 22 23:15:52 2010 -0400
Another small doc cleanup
gdk/gdkpixmap.c | 34 ++++++++++++++++++----------------
1 files changed, 18 insertions(+), 16 deletions(-)
---
diff --git a/gdk/gdkpixmap.c b/gdk/gdkpixmap.c
index 9a594a2..79ebd5c 100644
--- a/gdk/gdkpixmap.c
+++ b/gdk/gdkpixmap.c
@@ -747,26 +747,28 @@ gdk_pixmap_create_from_xpm (GdkDrawable *drawable,
/**
* gdk_pixmap_colormap_create_from_xpm_d:
* @drawable: a #GdkDrawable, used to determine default values
- * for the new pixmap. Can be %NULL if @colormap is given.
+ * for the new pixmap. Can be %NULL if @colormap is given.
* @colormap: the #GdkColormap that the new pixmap will be use.
- * If omitted, the colormap for @window will be used.
+ * If omitted, the colormap for @window will be used.
* @mask: 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.
+ * 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
- * that are transparent in the input file. Can be %NULL,
- * in which case a default color will be used.
+ * that are transparent in the input file. Can be %NULL,
+ * in which case a default color will be used.
* @data: Pointer to a string containing the XPM data.
*
* Create a pixmap from data in XPM format using a particular
* colormap.
+ *
+ * Returns: (transfer none): the #GdkPixmap.
*/
GdkPixmap*
-gdk_pixmap_colormap_create_from_xpm_d (GdkDrawable *drawable,
- GdkColormap *colormap,
- GdkBitmap **mask,
- const GdkColor *transparent_color,
- gchar **data)
+gdk_pixmap_colormap_create_from_xpm_d (GdkDrawable *drawable,
+ GdkColormap *colormap,
+ GdkBitmap **mask,
+ const GdkColor *transparent_color,
+ gchar **data)
{
GdkPixbuf *pixbuf;
GdkPixmap *pixmap;
@@ -792,13 +794,13 @@ gdk_pixmap_colormap_create_from_xpm_d (GdkDrawable *drawable,
/**
* gdk_pixmap_create_from_xpm_d:
* @drawable: a #GdkDrawable, used to determine default values
- * for the new pixmap.
+ * for the new pixmap.
* @mask: (out): 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.
+ * the transparency mask of the XPM file. Can be %NULL,
+ * in which case transparency will be ignored.
* @transparent_color: This color will be used for the pixels
- * that are transparent in the input file. Can be %NULL
- * in which case a default color will be used.
+ * that are transparent in the input file. Can be %NULL
+ * in which case a default color will be used.
* @data: Pointer to a string containing the XPM data.
*
* Create a pixmap from data in XPM format.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]