Commit 4e917045 authored by Johan Dahlin's avatar Johan Dahlin

Import gnomevfs instead of gnome.vfs

* src/pygnomevfs.h: Import gnomevfs instead of gnome.vfs
parent 5c147833
2005-03-21 Johan Dahlin <johan@gnome.org>
* src/pygnomevfs.h: Import gnomevfs instead of gnome.vfs
2005-01-08 Johan Dahlin <johan@gnome.org>
* src/nautilus.override
......
......@@ -84,7 +84,7 @@ struct _PyGnomeVFS_Functions *_PyGnomeVFS_API;
#define PyGnomeVFSContext_Type (*_PyGnomeVFS_API->context_type)
#define np_init_pygnomevfs() { \
PyObject *gobject = PyImport_ImportModule("gnome.vfs"); \
PyObject *gobject = PyImport_ImportModule("gnomevfs"); \
if (gobject != NULL) { \
PyObject *mdict = PyModule_GetDict(gobject); \
PyObject *cobject = PyDict_GetItemString(mdict, "_PyGnomeVFS_API"); \
......@@ -95,7 +95,7 @@ struct _PyGnomeVFS_Functions *_PyGnomeVFS_API;
return FALSE; \
} \
} else { \
Py_FatalError("could not import gnome.vfs"); \
Py_FatalError("could not import gnomevfs"); \
return FALSE; \
} \
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment