diff options
author | Havoc Pennington <hp@pobox.com> | 2000-01-29 22:26:41 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-01-29 22:26:41 +0000 |
commit | 4d48b106f0b897d3c101c73be0e4f19f1248f8de (patch) | |
tree | 73ef27890b623ef58361790272f97470261947cf /gdk/gdkimage.c | |
parent | 7d39971922e88caa0a1ac7a129a766929457b028 (diff) | |
download | gdk-pixbuf-4d48b106f0b897d3c101c73be0e4f19f1248f8de.tar.gz |
use gdk_cursor_unref instead of destroy
2000-01-30 Havoc Pennington <hp@pobox.com>
* gtk/testgtk.c (set_cursor): use gdk_cursor_unref instead of
destroy
* gdk/gdkimage.c (gdk_image_ref): image wasn't being returned
* gdk/gdkprivate.h: declare
_gdk_cursor_destroy which is then
implemented in platform-specific code
* gdk/Makefile.am (gdk_c_sources): add gdkcursor.c
* gdk/x11/gdkcursor-x11.c (gdk_cursor_destroy):
rename with an
underscore in front
* gdk/win32/gdkcursor-win32.c (gdk_cursor_destroy):
put an underscore in front
* gdk/gdkcursor.c: new file, implements
gdk_cursor_ref/gdk_cursor_unref
* gdk/gdkcursor.h: Refcount GdkCursor
* gdk/gdkcompat.h
(gdk_cursor_destroy): compat
Diffstat (limited to 'gdk/gdkimage.c')
-rw-r--r-- | gdk/gdkimage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkimage.c b/gdk/gdkimage.c index 09ae112b6..1e82d50df 100644 --- a/gdk/gdkimage.c +++ b/gdk/gdkimage.c @@ -38,6 +38,8 @@ gdk_image_ref (GdkImage *image) g_return_val_if_fail (image != NULL, NULL); private->ref_count++; + + return image; } void |