]> git.sesse.net Git - vlc/blobdiff - plugins/gtk/gnome.c
* ALL: got rid of p_object->p_this which is now useless.
[vlc] / plugins / gtk / gnome.c
index 6dd6299ce7ec1ed2b6359d2ed8dc582b0dab7c3c..748d63ee834eab131453c25a598fe2ebe63d06f8 100644 (file)
@@ -2,7 +2,7 @@
  * gnome.c : Gnome plugin for vlc
  *****************************************************************************
  * Copyright (C) 2000 VideoLAN
- * $Id: gnome.c,v 1.24 2002/06/01 12:31:59 sam Exp $
+ * $Id: gnome.c,v 1.25 2002/06/01 18:04:48 sam Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -156,7 +156,7 @@ static int intf_Open( intf_thread_t *p_intf )
         return( 1 );
     }
 
-    p_intf->p_sys->p_sub = msg_Subscribe( p_intf->p_this );
+    p_intf->p_sys->p_sub = msg_Subscribe( p_intf );
 
     /* Initialize Gnome thread */
     p_intf->p_sys->b_playing = 0;
@@ -180,7 +180,7 @@ static int intf_Open( intf_thread_t *p_intf )
  *****************************************************************************/
 static void intf_Close( intf_thread_t *p_intf )
 {
-    msg_Unsubscribe( p_intf->p_this, p_intf->p_sys->p_sub );
+    msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
 
     /* Destroy structure */
     free( p_intf->p_sys );