summaryrefslogtreecommitdiffstats
path: root/gobject/pygi-external.h
diff options
context:
space:
mode:
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 */
}