From 2fa7ac0312637f1bace4c93c9bddf6c84b6f9307 Mon Sep 17 00:00:00 2001 From: Nicholas Piper Date: Wed, 8 Aug 2007 07:14:36 +0000 Subject: Move PyDateTime_IMPORT outside of ifdef HAVE_GDKPIXBUF + HAVE_PYGOBJECT, including it there was a merge error git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1674 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- bindings/python/gpod.i.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/gpod.i.in b/bindings/python/gpod.i.in index 7e4366c..e74d3d9 100644 --- a/bindings/python/gpod.i.in +++ b/bindings/python/gpod.i.in @@ -300,10 +300,10 @@ PyObject* sw_get_photo(GList *list, gint index) { #ifdef HAVE_GDKPIXBUF #ifdef HAVE_PYGOBJECT g_type_init (); - PyDateTime_IMPORT; init_pygobject (); #endif #endif + PyDateTime_IMPORT; %} %include "gpod_doc.i" -- cgit