summaryrefslogtreecommitdiffstats
path: root/gnome-map
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-27 15:36:59 +0000
committerMatt Wilson <msw@redhat.com>1999-08-27 15:36:59 +0000
commitd3731b863b37ec0dde2b0e74f73b1a5f68c9041e (patch)
tree955ebc8f62f001835852f01ec180cc1430ae19b6 /gnome-map
parent9b804e0d421c56c4235f0283d3d8c5b6496044ee (diff)
downloadanaconda-d3731b863b37ec0dde2b0e74f73b1a5f68c9041e.tar.gz
anaconda-d3731b863b37ec0dde2b0e74f73b1a5f68c9041e.tar.xz
anaconda-d3731b863b37ec0dde2b0e74f73b1a5f68c9041e.zip
oops
Diffstat (limited to 'gnome-map')
-rwxr-xr-xgnome-map/pytimezone2
-rw-r--r--gnome-map/timezonemapmodule.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/gnome-map/pytimezone b/gnome-map/pytimezone
index dc05e7938..df99faf0a 100755
--- a/gnome-map/pytimezone
+++ b/gnome-map/pytimezone
@@ -24,7 +24,7 @@ class Option (GtkOptionMenu):
win = GtkWindow()
vbox = GtkVBox (FALSE, 10)
-tz = timezonemap.new ()
+tz = timezonemap.new ("map480.png")
map = Map (tz.map)
list = List (tz.citylist)
option = Option (tz.views)
diff --git a/gnome-map/timezonemapmodule.c b/gnome-map/timezonemapmodule.c
index 2cb96a306..57b2a7a4d 100644
--- a/gnome-map/timezonemapmodule.c
+++ b/gnome-map/timezonemapmodule.c
@@ -805,6 +805,7 @@ static tzObject * doNewTZ (PyObject * s, PyObject * args) {
char * path;
if (!PyArg_ParseTuple(args, "s", &path))
+ return NULL;
o = (tzObject *) PyObject_NEW(tzObject, &tzType);