summaryrefslogtreecommitdiff
path: root/gdk/gdkvisual.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/gdkvisual.h
parentd2b64a0b838d71e01a2cb3eec1e32f1ea1f787b5 (diff)
downloadgdk-pixbuf-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/gdkvisual.h')
-rw-r--r--gdk/gdkvisual.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkvisual.h b/gdk/gdkvisual.h
index bcae03b43..68334855f 100644
--- a/gdk/gdkvisual.h
+++ b/gdk/gdkvisual.h
@@ -80,7 +80,7 @@ GdkVisual* gdk_visual_get_best_with_type (GdkVisualType visual_type);
GdkVisual* gdk_visual_get_best_with_both (gint depth,
GdkVisualType visual_type);
-#ifndef GTK_DISABLE_DEPRECATED
+#ifndef GDK_DISABLE_DEPRECATED
#define gdk_visual_ref(v) g_object_ref(v)
#define gdk_visual_unref(v) g_object_unref(v)
#endif