summaryrefslogtreecommitdiffstats
path: root/bindings/python
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/gpod.i.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/bindings/python/gpod.i.in b/bindings/python/gpod.i.in
index e13d738..2d00e6c 100644
--- a/bindings/python/gpod.i.in
+++ b/bindings/python/gpod.i.in
@@ -308,6 +308,8 @@ PyObject* sw_get_photo(GList *list, gint index) {
# them utf8 encoded Strings.
typedef char gchar;
+# treat time_t as int
+typedef int time_t;
%typemap(in) guint8 {
unsigned long ival;