summaryrefslogtreecommitdiffstats
path: root/gobject
diff options
context:
space:
mode:
Diffstat (limited to 'gobject')
-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; \