summaryrefslogtreecommitdiffstats
path: root/gnome-map
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-01 18:41:04 +0000
committerMatt Wilson <msw@redhat.com>1999-09-01 18:41:04 +0000
commit518583b8c62a4c254cec904c1960c0974b49326d (patch)
tree94c7b48ea36a4c93221623ced7a184a10ad1eb8b /gnome-map
parent46756d6fb8d2a7d0e698b8cc2fd2f37c2ebbf10f (diff)
downloadanaconda-518583b8c62a4c254cec904c1960c0974b49326d.tar.gz
anaconda-518583b8c62a4c254cec904c1960c0974b49326d.tar.xz
anaconda-518583b8c62a4c254cec904c1960c0974b49326d.zip
return index
Diffstat (limited to 'gnome-map')
-rw-r--r--gnome-map/timezonemapmodule.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnome-map/timezonemapmodule.c b/gnome-map/timezonemapmodule.c
index 716fcfafa..4c726e711 100644
--- a/gnome-map/timezonemapmodule.c
+++ b/gnome-map/timezonemapmodule.c
@@ -792,8 +792,7 @@ static PyObject * setcurrent (tzObject * o, PyObject * args) {
set_selection (o->mapdata, index, TRUE);
- Py_INCREF(Py_None);
- return Py_None;
+ return Py_BuildValue("i", index);
}