From 90f2ade2c9f5e242ae05417662147f46ba6c1153 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 14 Sep 2009 15:31:44 +0200 Subject: Update Python bindings to new API --- swig/iphone.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'swig') diff --git a/swig/iphone.i b/swig/iphone.i index 3c208ef..ba6345a 100644 --- a/swig/iphone.i +++ b/swig/iphone.i @@ -121,13 +121,13 @@ MobileSync* my_new_MobileSync(Lockdownd* lckd) { } int init_device_by_uuid(char* uuid) { - if (IPHONE_E_SUCCESS == iphone_get_device_by_uuid(&($self->dev), uuid)) + if (IPHONE_E_SUCCESS == iphone_device_new(&($self->dev), uuid)) return 1; return 0; } int init_device() { - if (IPHONE_E_SUCCESS == iphone_get_device(&($self->dev))) + if (IPHONE_E_SUCCESS == iphone_device_new(&($self->dev), NULL)) return 1; return 0; } -- cgit v1.1-32-gdbae