summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gobject/pygobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/pygobject.c b/gobject/pygobject.c
index bde5cae..2c7913d 100644
--- a/gobject/pygobject.c
+++ b/gobject/pygobject.c
@@ -744,7 +744,7 @@ pygobject_set_data(PyGObject *self, PyObject *args)
GQuark quark;
PyObject *data;
- if (!PyArg_ParseTuple(args, "sO:GObject.get_data", &key, &data))
+ if (!PyArg_ParseTuple(args, "sO:GObject.set_data", &key, &data))
return NULL;
quark = g_quark_from_string(key);
Py_INCREF(data);