summaryrefslogtreecommitdiff
path: root/gdk/gdkimage.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-10-03 18:19:48 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-10-03 18:19:48 +0000
commiteacd03aef25cb0208d13c19e6a807a974c053cff (patch)
tree7c6d0c3f3b16a7267a85f7e14787270aed73d997 /gdk/gdkimage.c
parenta8d54496fb0a642ff3dd6c3bf4c5ee8340e33669 (diff)
downloadgtk+-eacd03aef25cb0208d13c19e6a807a974c053cff.tar.gz
Throughout: assorted docs
2001-10-02 Havoc Pennington <hp@redhat.com> Throughout: assorted docs * gdk/gdkwindow.h: deprecate gdk_window_set_hints(), it's broken, gdk_window_set_geometry_hints() should be used instead. * gdk/gdkimage.h: deprecate gdk_image_ref, gdk_image_unref, and document them * gdk/x11/gdkx.h: remove gdk_get_client_window() since it doesn't seem to exist in any .c files * gdk/x11/gdkcolor-x11.c (gdk_colormap_query_color): docs, g_return_if_fail (pixel < colormap->size).
Diffstat (limited to 'gdk/gdkimage.c')
-rw-r--r--gdk/gdkimage.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/gdk/gdkimage.c b/gdk/gdkimage.c
index 2606f48a10..76ecc7eec4 100644
--- a/gdk/gdkimage.c
+++ b/gdk/gdkimage.c
@@ -30,12 +30,27 @@
#include "gdkimage.h"
#include "gdkprivate.h"
+/**
+ * gdk_image_ref:
+ * @image: a #GdkImage
+ *
+ * Deprecated function; use g_object_ref() instead.
+ *
+ * Return value: the image
+ **/
GdkImage *
gdk_image_ref (GdkImage *image)
{
return (GdkImage *) g_object_ref (G_OBJECT (image));
}
+/**
+ * gdk_image_unref:
+ * @image: a #GdkImage
+ *
+ * Deprecated function; use g_object_unref() instead.
+ *
+ **/
void
gdk_image_unref (GdkImage *image)
{