summaryrefslogtreecommitdiff
path: root/gtk/gtkwindow.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-08-23 15:26:49 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-08-23 15:26:49 +0000
commita2d60d44b170d403f26444081113be8d60afe8a3 (patch)
treeda9506d74a6edba8c3fc4232b350eb3263df95b5 /gtk/gtkwindow.h
parent34852377443196c3b2b6affd18e3ad7f5400cea8 (diff)
downloadgtk+-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 'gtk/gtkwindow.h')
-rw-r--r--gtk/gtkwindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h
index 7753d02dd6..457fbdb514 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -250,7 +250,8 @@ void gtk_window_set_policy (GtkWindow *window,
gint allow_shrink,
gint allow_grow,
gint auto_shrink);
-#endif
+#define gtk_window_position gtk_window_set_position
+#endif /* GTK_DISABLE_DEPRECATED */
/* Set initial default size of the window (does not constrain user
* resize operations)