Mercurial > audlegacy-plugins
diff src/amidi-plug/i_configure.c @ 1020:fe9ffc829b5f trunk
[svn] - amidi-plug works again (uses auddrct.h in place of the deprecated beepctrl.h)
author | giacomo |
---|---|
date | Fri, 11 May 2007 17:01:10 -0700 |
parents | e1c6b223431e |
children | 5daedb3af7c9 e5401b6c4665 |
line wrap: on
line diff
--- a/src/amidi-plug/i_configure.c Fri May 11 15:45:20 2007 -0700 +++ b/src/amidi-plug/i_configure.c Fri May 11 17:01:10 2007 -0700 @@ -28,7 +28,7 @@ #include "i_configure-fluidsynth.h" #include "i_configure-dummy.h" #include "i_utils.h" -#include <audacious/beepctrl.h> +#include <audacious/auddrct.h> #include <audacious/util.h> @@ -227,7 +227,7 @@ void i_configure_ev_bokcheck( GtkWidget * button_ok , gpointer configwin ) { - if ( xmms_remote_is_playing(0) || xmms_remote_is_paused(0) ) + if ( audacious_drct_get_playing() || audacious_drct_get_paused() ) { /* we can't change settings while a song is being played */ static GtkWidget * configwin_warnmsg = NULL;