[gtk+/gtk-2-24-quartz] win32: don't input_window_destroy twice



commit f186d71da7315def77326857b6009ad8a50609fd
Author: Alexander Larsson <alexl redhat com>
Date:   Wed Oct 26 11:17:12 2011 +0200

    win32: don't input_window_destroy twice
    
    The common code already calls input_window_destroy

 gdk/win32/gdkwindow-win32.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index 3b9b915..b6434ca 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -826,9 +826,6 @@ _gdk_win32_window_destroy (GdkWindow *window,
   GDK_NOTE (MISC, g_print ("_gdk_win32_window_destroy: %p\n",
 			   GDK_WINDOW_HWND (window)));
 
-  if (private->extension_events != 0)
-    _gdk_input_window_destroy (window);
-
   /* Remove ourself from the modal stack */
   _gdk_remove_modal_window (window);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]