pygtk r2983 - in trunk: . gtk



Author: otaylor
Date: Tue May 20 18:41:38 2008
New Revision: 2983
URL: http://svn.gnome.org/viewvc/pygtk?rev=2983&view=rev

Log:
2008-05-20  Owen Taylor  <otaylor redhat com>

        * gtk/gtk.override: Allocate the right amount of memory
        for PySignalWatchSource, fixing memory corruption.
        (bug #534083)


Modified:
   trunk/ChangeLog
   trunk/gtk/gtk.override

Modified: trunk/gtk/gtk.override
==============================================================================
--- trunk/gtk/gtk.override	(original)
+++ trunk/gtk/gtk.override	Tue May 20 18:41:38 2008
@@ -1168,7 +1168,7 @@
 static GSource *
 pygtk_main_watch_new(void)
 {
-    return g_source_new(&pygtk_main_watch_funcs, sizeof(GSource));
+    return g_source_new(&pygtk_main_watch_funcs, sizeof(PySignalWatchSource));
 }
 
 



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