From 5c69098f63e573b55091f2037265580f9f8c4af7 Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Tue, 13 Jun 2017 22:46:28 +0200 Subject: [PATCH] Correct usage of variable name under GTK2. --- src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs b/src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs index 2f2511a..c37bad1 100644 --- a/src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs +++ b/src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs @@ -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; -- 2.7.4