]> git.sesse.net Git - vlc/blobdiff - plugins/win32/intf_win32.cpp
* ALL: got rid of p_object->p_this which is now useless.
[vlc] / plugins / win32 / intf_win32.cpp
index 5f89bf8161d915e5514aa901a9b6936c29e71b83..5bf3a3a75af93182e081f2f34d253848fef70e63 100644 (file)
@@ -72,7 +72,7 @@ static int intf_Open( intf_thread_t *p_intf )
 \r
     p_intfGlobal = p_intf;\r
 \r
-    p_intf->p_sys->p_sub = msg_Subscribe( p_intf->p_this );\r
+    p_intf->p_sys->p_sub = msg_Subscribe( p_intf );\r
 \r
     /* Initialize Win32 thread */\r
     p_intf->p_sys->b_playing = 0;\r
@@ -88,7 +88,7 @@ static int intf_Open( intf_thread_t *p_intf )
  *****************************************************************************/\r
 static void intf_Close( intf_thread_t *p_intf )\r
 {\r
-    msg_Unsubscribe( p_intf->p_this, p_intf->p_sys->p_sub );\r
+    msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );\r
 \r
     /* Destroy structure */\r
     free( p_intf->p_sys );\r