summaryrefslogtreecommitdiff
path: root/gdk/gdkprivate.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2000-01-29 22:26:41 +0000
committerHavoc Pennington <hp@src.gnome.org>2000-01-29 22:26:41 +0000
commit4d48b106f0b897d3c101c73be0e4f19f1248f8de (patch)
tree73ef27890b623ef58361790272f97470261947cf /gdk/gdkprivate.h
parent7d39971922e88caa0a1ac7a129a766929457b028 (diff)
downloadgtk+-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/gdkprivate.h')
-rw-r--r--gdk/gdkprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkprivate.h b/gdk/gdkprivate.h
index 8d32599d94..4eefea9e44 100644
--- a/gdk/gdkprivate.h
+++ b/gdk/gdkprivate.h
@@ -262,6 +262,8 @@ void _gdk_font_destroy (GdkFont *font);
void _gdk_colormap_real_destroy (GdkColormap *colormap);
+void _gdk_cursor_destroy (GdkCursor *cursor);
+
/* Initialization */
extern GdkArgDesc _gdk_windowing_args[];