freebsd-ports/deskutils/gdesklets/files/patch-utils::utils.c
Volker Stolz e5aae404b9 Update to 0.34
PR:		ports/78193
Submitted by:	maintainer
2005-03-02 08:29:50 +00:00

19 lines
507 B
C

--- utils/utils.c.orig Sun Feb 6 22:11:42 2005
+++ utils/utils.c Mon Feb 28 12:15:54 2005
@@ -12,14 +12,14 @@
if(G_UNLIKELY(PyGObject_Type == NULL))
{
- PyObject *module;
+ PyObject *module, *moddict;
module = PyImport_ImportModule("gobject");
if(!module)
goto err_gobject;
- PyObject *moddict = PyModule_GetDict(module);
+ moddict = PyModule_GetDict(module);
PyGObject_Type = (PyTypeObject *) PyDict_GetItemString(moddict, "GObject");