Skip to content

Commit

Permalink
actually initialise the gobject stuff for gtk._gtk.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
James Henstridge authored and James Henstridge committed Jul 3, 2000
1 parent d72ae7f commit 176a307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gobject/pygobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit 176a307

Please sign in to comment.