diff options
-rw-r--r-- | giscanner/giscannermodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/giscanner/giscannermodule.c b/giscanner/giscannermodule.c index 80d7f6b9..e8ad117a 100644 --- a/giscanner/giscannermodule.c +++ b/giscanner/giscannermodule.c @@ -23,6 +23,7 @@ # include "config.h" #endif #include "sourcescanner.h" +#include "grealpath.h" #include <Python.h> #ifdef _WIN32 @@ -335,7 +336,7 @@ pygi_source_scanner_append_filename (PyGISourceScanner *self, return NULL; self->scanner->filenames = g_list_append (self->scanner->filenames, - g_strdup (filename)); + g_realpath (filename)); Py_INCREF (Py_None); return Py_None; |