diff options
author | Alexander Larsson <alexl@redhat.com> | 2011-03-07 16:01:46 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-03-08 23:13:39 +0100 |
commit | a3b2840cae2fa82aa1e7a1851238b798f084df5c (patch) | |
tree | 919cb649feb569e905475c58f581149ea44063fe /gdk/gdk.c | |
parent | 191428f596a532799059124ed41b4b348e48634e (diff) | |
download | gtk+-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); } |