]> git.sesse.net Git - vlc/commitdiff
* compilation fix
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 30 Jul 2006 22:35:04 +0000 (22:35 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 30 Jul 2006 22:35:04 +0000 (22:35 +0000)
modules/gui/macosx/intf.m
modules/gui/skins2/commands/cmd_dialogs.hpp

index 33f3d0e3dc36db2dc37e25d2d35ce173da2e5d83..7b30a063fcb226ce4bcb350153f8c06ba52cbadb 100644 (file)
@@ -47,7 +47,6 @@
 #include "embeddedwindow.h"
 #include "update.h"
 #include "AppleRemote.h"
-#import <vlc_interaction.h>
 
 /*****************************************************************************
  * Local prototypes.
index d8ad6521d41de22f00987ba3bbdf8ad789b38cd2..05c02c911bed84d4b691ee61fd974f4295311d4f 100644 (file)
@@ -169,20 +169,13 @@ class CmdInteraction: public CmdGeneric
         /// This method does the real job of the command
         virtual void execute()
         {
-            if( m_pDialog->i_type == INTERACT_PROGRESS )
-            {
-                 /// \todo Handle progress in the interface
-            }
-            else
+            /// Get the dialogs provider
+            Dialogs *pDialogs = Dialogs::instance( getIntf() );
+            if( pDialogs == NULL )
             {
-                /// Get the dialogs provider
-                Dialogs *pDialogs = Dialogs::instance( getIntf() );
-                if( pDialogs == NULL )
-                {
-                    return;
-                }
-                pDialogs->showInteraction( m_pDialog );
+                return;
             }
+            pDialogs->showInteraction( m_pDialog );
         }
 
         virtual string getType() const { return "interaction"; }