changeset 1416:e11d83ce8d16

amidiplug: cannot warn user with a UI message anymore if something in playback fails, cause the play func is in a different thread
author Giacomo Lozito <james@develia.org>
date Wed, 08 Aug 2007 20:25:13 +0200
parents 9dbea7b32361
children 59f2c23810bc a25c2cfcce83 31a21423999f
files src/amidi-plug/amidi-plug.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/amidi-plug/amidi-plug.c	Wed Aug 08 08:16:10 2007 -0500
+++ b/src/amidi-plug/amidi-plug.c	Wed Aug 08 20:25:13 2007 +0200
@@ -365,9 +365,11 @@
   if ( backend.gmodule == NULL )
   {
     g_warning( "No sequencer backend selected\n" );
+    /* not usable, cause now amidiplug_play is in a different thread
     i_message_gui( _("AMIDI-Plug - warning") ,
                    _("No sequencer backend has been selected!\nPlease configure AMIDI-Plug before playing.") ,
                    AMIDIPLUG_MESSAGE_WARN , NULL , TRUE );
+    */
     amidiplug_playing_status = AMIDIPLUG_ERR;
     return;
   }