summaryrefslogtreecommitdiff
path: root/gdk/gdk.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2011-03-07 16:01:46 +0100
committerBenjamin Otte <otte@redhat.com>2011-03-08 23:13:39 +0100
commita3b2840cae2fa82aa1e7a1851238b798f084df5c (patch)
tree919cb649feb569e905475c58f581149ea44063fe /gdk/gdk.c
parent191428f596a532799059124ed41b4b348e48634e (diff)
downloadgtk+-a3b2840cae2fa82aa1e7a1851238b798f084df5c.tar.gz
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
Diffstat (limited to 'gdk/gdk.c')
-rw-r--r--gdk/gdk.c4
1 files changed, 2 insertions, 2 deletions
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");
}