[pygtk/gtk-3.0: 44/55] Fixme: Disable gtk_menu_popup hack



commit 6d46bfb94f82abc9b8eb06af34bef6fc5670b7ce
Author: John Stowers <john stowers gmail com>
Date:   Tue Jul 13 17:04:31 2010 +1200

    Fixme: Disable gtk_menu_popup hack

 gtk/gtk.override |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtk.override b/gtk/gtk.override
index 5ec4896..e2a7e0e 100644
--- a/gtk/gtk.override
+++ b/gtk/gtk.override
@@ -1439,13 +1439,13 @@ _wrap_gtk_menu_popup(PyGObject *self, PyObject *args, PyObject *kwargs)
     }
 
     /* this is an ugly hack to avoid leaking memory and references
-       gtk_menu_popup should use a data destroy function */
+       gtk_menu_popup should use a data destroy function 
     if (menu->_g_sealed__position_func == pygtk_menu_position) {
         cunote = menu->_g_sealed__position_func_data;
         Py_DECREF(cunote->func);
         Py_XDECREF(cunote->data);
         g_free(cunote);
-    }
+    } */
     if (func != Py_None) {
         cunote = g_new0(PyGtkCustomNotify, 1);
         cunote->func = func;



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