Commit bc959f89 authored by Rafaël Carré's avatar Rafaël Carré

Checks ncursesw/curses.h presence

parent ed3227e6
...@@ -5312,8 +5312,10 @@ dnl ...@@ -5312,8 +5312,10 @@ dnl
AC_ARG_ENABLE(ncurses, AC_ARG_ENABLE(ncurses,
[ --enable-ncurses ncurses interface support (default disabled)], [ --enable-ncurses ncurses interface support (default disabled)],
[if test "${enable_ncurses}" = "yes"; then [if test "${enable_ncurses}" = "yes"; then
AC_CHECK_HEADERS(ncursesw/curses.h,[
VLC_ADD_PLUGINS([ncurses]) VLC_ADD_PLUGINS([ncurses])
VLC_ADD_LDFLAGS([ncurses],[-lncursesw]) VLC_ADD_LDFLAGS([ncurses],[-lncursesw])
])
fi]) fi])
dnl dnl
......
...@@ -222,9 +222,12 @@ def tray_button(widget): ...@@ -222,9 +222,12 @@ def tray_button(widget):
window.move(position[0], position[1]) window.move(position[0], position[1])
window.show() window.show()
#ui setup #loads glade file from the directory where the script is,
xml = gtk.glade.XML('mpris.glade') #so we can use /path/to/mpris.py to execute it.
import sys
xml = gtk.glade.XML(os.path.dirname(sys.argv[0]) + '/mpris.glade')
#ui setup
bt_close = xml.get_widget('close') bt_close = xml.get_widget('close')
bt_quit = xml.get_widget('quit') bt_quit = xml.get_widget('quit')
bt_file = xml.get_widget('ChooseFile') bt_file = xml.get_widget('ChooseFile')
......
...@@ -489,7 +489,7 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj ) ...@@ -489,7 +489,7 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj )
return; return;
} }
} }
printf( "pointer playlist XX: %p\n", p_current->lock.p_this );
p_current = p_obj->pp_waiting[0]; p_current = p_obj->pp_waiting[0];
REMOVE_ELEM( p_obj->pp_waiting, p_obj->i_waiting, 0 ); REMOVE_ELEM( p_obj->pp_waiting, p_obj->i_waiting, 0 );
vlc_mutex_unlock( &p_obj->object_lock ); vlc_mutex_unlock( &p_obj->object_lock );
......
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