* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+ * USA
*/
-#include "pygtype.h"
-#include "pygi-type.h"
-
-#include <pyglib-python-compat.h>
+#include "pygi-private.h"
PyObject *
}
PyObject *
-pygi_type_import_by_g_type (GType g_type)
+pygi_type_import_by_g_type_real (GType g_type)
{
GIRepository *repository;
GIBaseInfo *info;
py_type = PyObject_GetAttrString (py_g_type, "pytype");
if (py_type == Py_None) {
- py_type = pygi_type_import_by_g_type (g_type);
+ py_type = pygi_type_import_by_g_type_real (g_type);
}
Py_DECREF (py_g_type);