summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2000-07-03 06:35:52 +0000
committerJames Henstridge <jamesh@src.gnome.org>2000-07-03 06:35:52 +0000
commit176a307e5993b4d735e80fe3546cd9bfc1111d52 (patch)
tree72ef9ebb76266f660998ffff562d09b9dea852cf
parentd72ae7f0024c920bd403f78cece32d7d047fa2af (diff)
downloadpygobject-176a307e5993b4d735e80fe3546cd9bfc1111d52.tar.gz
pygobject-176a307e5993b4d735e80fe3546cd9bfc1111d52.tar.xz
pygobject-176a307e5993b4d735e80fe3546cd9bfc1111d52.zip
actually initialise the gobject stuff for gtk._gtk.
2000-07-03 James Henstridge <james@daa.com.au> * gtk/gtkmodule.c (init_gtk): actually initialise the gobject stuff for gtk._gtk. * pygobject.h (pygobject_check): call the correct ExtensionClass check macro. (init_pygobject): small fixup here.
-rw-r--r--gobject/pygobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gobject/pygobject.h b/gobject/pygobject.h
index 29da36b..06badd8 100644
--- a/gobject/pygobject.h
+++ b/gobject/pygobject.h
@@ -55,11 +55,11 @@ struct _PyGObject_Functions *_PyGObject_API;
if (PyCObject_Check(cobject)) \
_PyGObject_API = PyCObject_AsVoidPtr(cobject); \
else { \
- Py_FatalException("could not find _PyGObject_API object"); \
+ Py_FatalError("could not find _PyGObject_API object"); \
return; \
} \
} else { \
- Py_FatalException("could not import gobject"); \
+ Py_FatalError("could not import gobject"); \
return; \
} \
ExtensionClassImported; \