Correct usage of variable name under GTK2.
authorJarl Gullberg <jarl.gullberg@gmail.com>
Tue, 13 Jun 2017 20:46:28 +0000 (22:46 +0200)
committerJarl Gullberg <jarl.gullberg@gmail.com>
Tue, 13 Jun 2017 20:46:28 +0000 (22:46 +0200)
src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs

index 2f2511a..c37bad1 100644 (file)
@@ -53,8 +53,8 @@ namespace OpenTK.X11
                    IntPtr windowXid = gdk_x11_window_get_xid(gdkWindowHandle);
                    IntPtr rootWindowXid = gdk_x11_window_get_xid(gdkRootWindowHandle);
 #else
-            IntPtr windowHandle = gdk_x11_drawable_get_xid(gdkWindowHandle);
-            IntPtr rootWindow = gdk_x11_drawable_get_xid(gdkRootWindowHandle);
+            IntPtr windowXid = gdk_x11_drawable_get_xid(gdkWindowHandle);
+            IntPtr rootWindowXid = gdk_x11_drawable_get_xid(gdkRootWindowHandle);
 #endif
 
                        IntPtr visualInfo;