From 34d34b01a6e04123fd0f38a1e9c2cffc32d40a4e Mon Sep 17 00:00:00 2001 From: Sadrul Habib Chowdhury Date: Tue, 13 Nov 2007 00:07:03 -0500 Subject: [PATCH] Ref the key. This actually is necessary. --- gntcombobox.override | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gntcombobox.override b/gntcombobox.override index bbe2729..f5370c0 100644 --- a/gntcombobox.override +++ b/gntcombobox.override @@ -35,7 +35,7 @@ _wrap_gnt_combo_box_add_data(PyGObject *self, PyObject *args) } gnt_combo_box_add_data(GNT_COMBO_BOX(self->obj), key, text); - /*Py_INCREF(key);*/ + Py_INCREF(key); Py_INCREF(Py_None); return Py_None; -- 2.11.4.GIT