summaryrefslogtreecommitdiff
path: root/gdk/gdkdnd.h
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2001-11-30 22:55:28 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2001-11-30 22:55:28 +0000
commit101d44881c27931cba352180d919488df5cd3b7b (patch)
tree5b02c6deb363043597e2e8427f3d16e2e037f59d /gdk/gdkdnd.h
parentd2b64a0b838d71e01a2cb3eec1e32f1ea1f787b5 (diff)
downloadgtk+-101d44881c27931cba352180d919488df5cd3b7b.tar.gz
Deprecate.
* gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref), gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref), gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref), gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref): Deprecate. * gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not GTK_DISABLE_DEPRECATED. * gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref), gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document. * gdk/tmpl/colors.sgml, gdk/tmpl/pixmaps.sgml, gdk/tmpl/dnd.sgml, gdk/tmpl/gcs.sgml: Document ref and unref functions as deprecated.
Diffstat (limited to 'gdk/gdkdnd.h')
-rw-r--r--gdk/gdkdnd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdkdnd.h b/gdk/gdkdnd.h
index 1eefec4302..c3dd4d1c32 100644
--- a/gdk/gdkdnd.h
+++ b/gdk/gdkdnd.h
@@ -78,8 +78,11 @@ struct _GdkDragContextClass {
GType gdk_drag_context_get_type (void) G_GNUC_CONST;
GdkDragContext * gdk_drag_context_new (void);
+
+#ifndef GDK_DISABLE_DEPRECATED
void gdk_drag_context_ref (GdkDragContext *context);
void gdk_drag_context_unref (GdkDragContext *context);
+#endif
/* Destination side */