]> git.sesse.net Git - vlc/blobdiff - modules/misc/notify/growl_udp.c
Use pl_Release with the right argument.
[vlc] / modules / misc / notify / growl_udp.c
index 3debf2b5a9d2bb3f02826ea219ce5e37a95388b8..17ec991555a10684606aebe64cb05412870dfab3 100644 (file)
@@ -29,7 +29,8 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
+#include <vlc_plugin.h>
 #include <vlc_interface.h>
 #include <vlc_playlist.h>
 #include <vlc_meta.h>
@@ -69,7 +70,7 @@ vlc_module_begin();
     set_category( CAT_INTERFACE );
     set_subcategory( SUBCAT_INTERFACE_CONTROL );
     set_shortname( "Growl-UDP" );
-    set_description( _("Growl UDP Notification Plugin") );
+    set_description( N_("Growl UDP Notification Plugin") );
 
     add_string( "growl-server", SERVER_DEFAULT, NULL,
                 SERVER_TEXT, SERVER_LONGTEXT, false );
@@ -123,7 +124,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
     playlist_t *p_playlist = pl_Yield( p_this );
 
     p_input = p_playlist->p_input;
-    vlc_object_release( p_playlist );
+    pl_Release( p_this );
 
     if( !p_input ) return VLC_SUCCESS;
     vlc_object_yield( p_input );