]> git.sesse.net Git - vlc/blobdiff - bindings/python/vlc_mediacontrol.c
Removes trailing spaces. Removes tabs.
[vlc] / bindings / python / vlc_mediacontrol.c
index 4cc182637e4291edf708030d05c424816da12229..66cc7ef6d6fffc24fb29c5f762dbc984b743e0a9 100644 (file)
@@ -37,7 +37,7 @@ MediaControl_new( PyTypeObject *type, PyObject *args, PyObject *kwds )
     char** ppsz_args = NULL;
     libvlc_instance_t* p_instance = NULL;
     Py_ssize_t i_size = 0;
-    
     self = PyObject_New( MediaControl, &MediaControl_Type );
 
     if( PyArg_ParseTuple( args, "O", &py_param ) )
@@ -90,7 +90,7 @@ MediaControl_new( PyTypeObject *type, PyObject *args, PyObject *kwds )
     {
         self->mc = mediacontrol_new_from_instance( p_instance, exception );
         Py_INCREF( py_param );
-        self->vlc_instance = py_param;
+        self->vlc_instance = ( vlcInstance* ) py_param;
     }
     else
     {