[vlc-commits] notify/growl.m: "item-current" has been replaced by "activity"
Jean-Paul Saman
git at videolan.org
Fri May 17 11:20:45 CEST 2013
vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Fri Apr 26 14:04:56 2013 +0200| [86164df00c31a9418dc413a2edfeee7440fc0542] | committer: Jean-Paul Saman
notify/growl.m: "item-current" has been replaced by "activity"
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=86164df00c31a9418dc413a2edfeee7440fc0542
---
modules/notify/growl.m | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/notify/growl.m b/modules/notify/growl.m
index c3bf25f..f23f117 100644
--- a/modules/notify/growl.m
+++ b/modules/notify/growl.m
@@ -125,7 +125,7 @@ static int Open( vlc_object_t *p_this )
p_playlist = pl_Get( p_intf );
var_AddCallback( p_playlist, "item-change", ItemChange, p_intf );
- var_AddCallback( p_playlist, "item-current", ItemChange, p_intf );
+ var_AddCallback( p_playlist, "activity", ItemChange, p_intf );
[p_sys->o_growl_delegate registerToGrowl];
return VLC_SUCCESS;
@@ -141,7 +141,7 @@ static void Close( vlc_object_t *p_this )
intf_sys_t *p_sys = p_intf->p_sys;
var_DelCallback( p_playlist, "item-change", ItemChange, p_intf );
- var_DelCallback( p_playlist, "item-current", ItemChange, p_intf );
+ var_DelCallback( p_playlist, "activity", ItemChange, p_intf );
[p_sys->o_growl_delegate release];
free( p_sys );
@@ -162,7 +162,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
char *psz_album = NULL;
input_item_t *p_item = newval.p_address;
- bool b_is_item_current = !strcmp( "item-current", psz_var );
+ bool b_is_item_current = !strcmp( "activity", psz_var );
/* Don't update each time an item has been preparsed */
if( b_is_item_current )
More information about the vlc-commits
mailing list