Commit 558b36a0 authored by Jean-Paul Saman's avatar Jean-Paul Saman

dbus: use accessor iso accessing struct directly

parent a70c8b64
......@@ -488,7 +488,9 @@ DBUS_METHOD( GetLength )
OUT_ARGUMENTS;
playlist_t *p_playlist = pl_Hold( (vlc_object_t*) p_this );
dbus_int32_t i_elements = p_playlist->current.i_size;
PL_LOCK;
dbus_int32_t i_elements = playlist_CurrentSize( p_playlist );
PL_UNLOCK;
pl_Release( (vlc_object_t*) p_this );
ADD_INT32( &i_elements );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment