From 176a307e5993b4d735e80fe3546cd9bfc1111d52 Mon Sep 17 00:00:00 2001 From: James Henstridge Date: Mon, 3 Jul 2000 06:35:52 +0000 Subject: actually initialise the gobject stuff for gtk._gtk. 2000-07-03 James Henstridge * 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. --- gobject/pygobject.h | 4 ++-- 1 file 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; \ -- cgit