summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Dahlin <zilch@src.gnome.org>2001-10-05 19:13:53 +0000
committerJohan Dahlin <zilch@src.gnome.org>2001-10-05 19:13:53 +0000
commit5c88d8b18bb7e7ab90481af525aa2fd20cd0a85b (patch)
tree81632868858eabdabface2f654273a112705e630
parentab42d05513681bacddda67c9e57095451341cfc4 (diff)
downloadpygobject-5c88d8b18bb7e7ab90481af525aa2fd20cd0a85b.tar.gz
pygobject-5c88d8b18bb7e7ab90481af525aa2fd20cd0a85b.tar.xz
pygobject-5c88d8b18bb7e7ab90481af525aa2fd20cd0a85b.zip
*** empty log message ***
-rw-r--r--gobject/gobjectmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/gobjectmodule.c b/gobject/gobjectmodule.c
index ee76f47..fa3077f 100644
--- a/gobject/gobjectmodule.c
+++ b/gobject/gobjectmodule.c
@@ -970,7 +970,7 @@ pyg_closure_new(PyObject *callback, PyObject *extra_args, PyObject *swap_data)
if (!PyTuple_Check(extra_args)) {
PyObject *tmp = PyTuple_New(1);
PySequence_SetItem(tmp, 0, extra_args);
- extra_args = Py_BuildValue(tmp);
+ extra_args = Py_BuildValue("(O)", tmp);
} else {
Py_INCREF(extra_args);
}