From a3b2840cae2fa82aa1e7a1851238b798f084df5c Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 7 Mar 2011 16:01:46 +0100 Subject: Remove support for GDK_NATIVE_WINDOWS GDK_NATIVE_WINDOWS was a way to keep some old apps running that did weird things in gtk2. We should not have to carry this forwards in gtk 3.x. We do however keep a g_warning() call reminding people of this fact to ease debugging when they try to port their applications. https://bugzilla.gnome.org/show_bug.cgi?id=644119 --- gdk/gdk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdk/gdk.c') diff --git a/gdk/gdk.c b/gdk/gdk.c index e65f68b3f3..43d45f50d2 100644 --- a/gdk/gdk.c +++ b/gdk/gdk.c @@ -236,8 +236,8 @@ gdk_pre_parse_libgtk_only (void) if (getenv ("GDK_NATIVE_WINDOWS")) { - _gdk_native_windows = TRUE; - /* Ensure that this is not propagated to spawned applications */ + g_warning ("The GDK_NATIVE_WINDOWS environment variable is not supported in GTK3.\n" + "See the documentation for gdk_window_ensure_native() on how to get native windows."); g_unsetenv ("GDK_NATIVE_WINDOWS"); } -- cgit v1.2.1