From: Olivier Aubert Date: Thu, 3 Sep 2009 08:56:35 +0000 (+0200) Subject: python: use new function libvlc_errmsg (reported by Xitij Patel ) --- diff --git a/bindings/python/vlcglue.h b/bindings/python/vlcglue.h index d5f604c4ec..5211645729 100644 --- a/bindings/python/vlcglue.h +++ b/bindings/python/vlcglue.h @@ -143,7 +143,7 @@ staticforward PyTypeObject vlcMedia_Type; #define LIBVLC_EXCEPT if( libvlc_exception_raised( &ex ) ) { \ PyObject *py_exc = vlc_Exception; \ - PyErr_SetString( py_exc, libvlc_exception_get_message( &ex ) ); \ + PyErr_SetString( py_exc, libvlc_errmsg() ); \ return NULL; \ }