Commit 5e426991 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

notify: use proper cast to reduce warning

parent 5f964e27
......@@ -135,7 +135,7 @@ static void Close( vlc_object_t *p_this )
intf_thread_t *p_intf = ( intf_thread_t* ) p_this;
intf_sys_t *p_sys = p_intf->p_sys;
var_DelCallback( pl_Get( p_this ), "activity", ItemChange, p_this );
var_DelCallback( pl_Get( p_intf ), "activity", ItemChange, p_this );
if( p_sys->notification )
{
......@@ -284,7 +284,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
/* libnotify callback, called when the "Next" button is pressed */
static void Next( NotifyNotification *notification, gchar *psz, gpointer p )
{
vlc_object_t *p_object = (vlc_object_t*)p;
intf_thread_t *p_object = (intf_thread_t *)p;
VLC_UNUSED(psz);
notify_notification_close( notification, NULL );
......@@ -294,7 +294,7 @@ static void Next( NotifyNotification *notification, gchar *psz, gpointer p )
/* libnotify callback, called when the "Previous" button is pressed */
static void Prev( NotifyNotification *notification, gchar *psz, gpointer p )
{
vlc_object_t *p_object = (vlc_object_t*)p;
intf_thread_t *p_object = (intf_thread_t *)p;
VLC_UNUSED(psz);
notify_notification_close( notification, NULL );
......
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