summaryrefslogtreecommitdiff
path: root/gi/pygi-struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'gi/pygi-struct.c')
-rw-r--r--gi/pygi-struct.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gi/pygi-struct.c b/gi/pygi-struct.c
index 4c05b7c4..fe41f255 100644
--- a/gi/pygi-struct.c
+++ b/gi/pygi-struct.c
@@ -25,7 +25,7 @@
#include "pygi-type.h"
#include "pygi-type.h"
#include "pygpointer.h"
-#include "pygi-python-compat.h"
+#include "pygi-util.h"
#include <girepository.h>
@@ -216,11 +216,11 @@ struct_repr(PyGIStruct *self)
if (info == NULL)
return NULL;
- repr = PYGLIB_PyUnicode_FromFormat ("<%s.%s object at %p (%s at %p)>",
- g_base_info_get_namespace (info),
- g_base_info_get_name (info),
- self, g_type_name (pointer->gtype),
- pointer->pointer);
+ repr = PyUnicode_FromFormat ("<%s.%s object at %p (%s at %p)>",
+ g_base_info_get_namespace (info),
+ g_base_info_get_name (info),
+ self, g_type_name (pointer->gtype),
+ pointer->pointer);
g_base_info_unref (info);