Improve docs

svn path=/trunk/; revision=22188
This commit is contained in:
Matthias Clasen 2009-01-23 05:43:45 +00:00
parent 379822c74b
commit b71609e23e
2 changed files with 17 additions and 10 deletions

View File

@ -1,3 +1,10 @@
2009-01-23 Matthias Clasen <mclasen@redhat.com>
Bug 567021 gtkimage accessors docs
* gtk/gtkimage.c: Improve docs by mentioning allowed NULL values.
Patch by Christian Persch
2009-01-23 Matthias Clasen <mclasen@redhat.com> 2009-01-23 Matthias Clasen <mclasen@redhat.com>
Bug 566535 gtk_widget_get_snapshot does not work if double buffered Bug 566535 gtk_widget_get_snapshot does not work if double buffered

View File

@ -1200,8 +1200,8 @@ gtk_image_get_pixmap (GtkImage *image,
/** /**
* gtk_image_get_image: * gtk_image_get_image:
* @image: a #GtkImage * @image: a #GtkImage
* @gdk_image: return location for a #GtkImage * @gdk_image: return location for a #GtkImage, or %NULL
* @mask: return location for a #GdkBitmap * @mask: return location for a #GdkBitmap, or %NULL
* *
* Gets the #GdkImage and mask being displayed by the #GtkImage. * Gets the #GdkImage and mask being displayed by the #GtkImage.
* The storage type of the image must be %GTK_IMAGE_EMPTY or * The storage type of the image must be %GTK_IMAGE_EMPTY or
@ -1253,8 +1253,8 @@ gtk_image_get_pixbuf (GtkImage *image)
/** /**
* gtk_image_get_stock: * gtk_image_get_stock:
* @image: a #GtkImage * @image: a #GtkImage
* @stock_id: place to store a stock icon name * @stock_id: place to store a stock icon name, or %NULL
* @size: place to store a stock icon size * @size: place to store a stock icon size, or %NULL
* *
* Gets the stock icon name and size being displayed by the #GtkImage. * Gets the stock icon name and size being displayed by the #GtkImage.
* The storage type of the image must be %GTK_IMAGE_EMPTY or * The storage type of the image must be %GTK_IMAGE_EMPTY or
@ -1284,8 +1284,8 @@ gtk_image_get_stock (GtkImage *image,
/** /**
* gtk_image_get_icon_set: * gtk_image_get_icon_set:
* @image: a #GtkImage * @image: a #GtkImage
* @icon_set: location to store a #GtkIconSet * @icon_set: location to store a #GtkIconSet, or %NULL
* @size: location to store a stock icon size * @size: location to store a stock icon size, or %NULL
* *
* Gets the icon set and size being displayed by the #GtkImage. * Gets the icon set and size being displayed by the #GtkImage.
* The storage type of the image must be %GTK_IMAGE_EMPTY or * The storage type of the image must be %GTK_IMAGE_EMPTY or
@ -1336,8 +1336,8 @@ gtk_image_get_animation (GtkImage *image)
/** /**
* gtk_image_get_icon_name: * gtk_image_get_icon_name:
* @image: a #GtkImage * @image: a #GtkImage
* @icon_name: place to store an icon name * @icon_name: place to store an icon name, or %NULL
* @size: place to store an icon size * @size: place to store an icon size, or %NULL
* *
* Gets the icon name and size being displayed by the #GtkImage. * Gets the icon name and size being displayed by the #GtkImage.
* The storage type of the image must be %GTK_IMAGE_EMPTY or * The storage type of the image must be %GTK_IMAGE_EMPTY or
@ -1369,8 +1369,8 @@ gtk_image_get_icon_name (GtkImage *image,
/** /**
* gtk_image_get_gicon: * gtk_image_get_gicon:
* @image: a #GtkImage * @image: a #GtkImage
* @gicon: place to store a #GIcon * @gicon: place to store a #GIcon, or %NULL
* @size: place to store an icon size * @size: place to store an icon size, or %NULL
* *
* Gets the #GIcon and size being displayed by the #GtkImage. * Gets the #GIcon and size being displayed by the #GtkImage.
* The storage type of the image must be %GTK_IMAGE_EMPTY or * The storage type of the image must be %GTK_IMAGE_EMPTY or