summaryrefslogtreecommitdiffstats
path: root/gobject/pygi-external.h
diff options
context:
space:
mode:
authorSimon van der Linden <svdlinden@src.gnome.org>2010-01-21 17:30:51 +0100
committerSimon van der Linden <svdlinden@src.gnome.org>2010-02-02 22:10:22 +0100
commit23fc0f615d87994acafd9d39e92dd92b587fc2eb (patch)
treebe5cf6c7221aab920d43c7547379593aa9df9033 /gobject/pygi-external.h
parent289d641775d1ea52d2a5379126b70b7fcee46683 (diff)
downloadpygobject-23fc0f615d87994acafd9d39e92dd92b587fc2eb.tar.gz
pygobject-23fc0f615d87994acafd9d39e92dd92b587fc2eb.tar.xz
pygobject-23fc0f615d87994acafd9d39e92dd92b587fc2eb.zip
Don't raise an error in _pygi_import if pygi support is disabled
http://bugzilla.gnome.org/show_bug.cgi?id=607674
Diffstat (limited to 'gobject/pygi-external.h')
-rw-r--r--gobject/pygi-external.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gobject/pygi-external.h b/gobject/pygi-external.h
index e0d11c2..aec2f25 100644
--- a/gobject/pygi-external.h
+++ b/gobject/pygi-external.h
@@ -49,7 +49,6 @@ _pygi_import (void)
return 0;
#else
- PyErr_SetString(PyExc_ImportError, "PyGI support not enabled");
return -1;
#endif /* ENABLE_PYGI */
}