diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-08-23 15:26:49 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-08-23 15:26:49 +0000 |
commit | a2d60d44b170d403f26444081113be8d60afe8a3 (patch) | |
tree | da9506d74a6edba8c3fc4232b350eb3263df95b5 /gdk/gdkdrawable.h | |
parent | 34852377443196c3b2b6affd18e3ad7f5400cea8 (diff) | |
download | gtk+-a2d60d44b170d403f26444081113be8d60afe8a3.tar.gz |
[ Patch from Sebastian Wilhelmi, 52790 ]
Wed Aug 22 19:15:39 2001 Owen Taylor <otaylor@redhat.com>
[ Patch from Sebastian Wilhelmi, 52790 ]
* gtk/gtkversion.h.in gtk/gtk.h: New file replacing gtkcompat.h
* gdk/gdkcompat.h gdk/gdk*.h gtk/gtkcompat.h.in gtk/gtk*.h:
Move compatibility macros from g[dt]kcompat.h to within
#ifndef G[DT]K_DISABLE_DEPRECATED in each file.
* gdk/gdk-pixbuf-csource.c: Fix up include of gtkcompat.h.
* demos/Makefile.am demos/gtk-demo/Makefile.am
docs/reference/gdk-pixbuf/Makefile.am modules/input/Makefile.am
tests/Makefile.am: Remove references to -G[DT]K_DISABLE_DEPRECATED.
* demos/{pixbuf-demo.c,testpixbuf-drawable.c,testpixbuf-save.c,
testpixbuf.c}: Fix usages of deprecated functions.
Diffstat (limited to 'gdk/gdkdrawable.h')
-rw-r--r-- | gdk/gdkdrawable.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk/gdkdrawable.h b/gdk/gdkdrawable.h index 47b09adeb4..06d79e2452 100644 --- a/gdk/gdkdrawable.h +++ b/gdk/gdkdrawable.h @@ -274,6 +274,11 @@ void gdk_draw_layout_with_colors (GdkDrawable *drawable, GdkColor *foreground, GdkColor *background); +#ifndef GDK_DISABLE_DEPRECATED +#define gdk_draw_pixmap gdk_draw_drawable +#define gdk_draw_bitmap gdk_draw_drawable +#endif /* GDK_DISABLE_DEPRECATED */ + GdkImage* gdk_drawable_get_image (GdkDrawable *drawable, gint x, gint y, |