[gtk+/gtk-2-18] Fix a think in the CSW input extension handling



commit 9ac1b6830c3b9820f50b61395662771a5cc22383
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Dec 21 15:27:46 2009 -0500

    Fix a think in the CSW input extension handling
    
    This was causing stack overflow due to an obvious infinite recursion.
    See e.g. RH #548849.
    (cherry picked from commit d2ce67734a5b1ce83ee09356846f44204d25bab0)

 gdk/gdkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 9bd5db6..5e9e44f 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -1754,7 +1754,7 @@ temporary_disable_extension_events (GdkWindowObject *window)
       child = l->data;
 
       if (window->impl_window == child->impl_window)
-	res |= temporary_disable_extension_events (window);
+	res |= temporary_disable_extension_events (child);
     }
 
   return res;



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