]> git.sesse.net Git - vlc/commitdiff
Revert "events: use input_state_e in input_state_changed."
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 14 Jun 2008 13:52:23 +0000 (15:52 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 14 Jun 2008 13:52:23 +0000 (15:52 +0200)
This reverts commit 627aaa888d8bf6f2fa64749263128be78791b462.

Well, we do need to define the type first. Limitation of how we declared events.

include/vlc_events.h

index e9cdac67bd301b3ee2609c2f32ffd8d7f24de6a0..c26cdb5b2fc0d115bde96b7bcbfae07c9d4cd82c 100644 (file)
@@ -140,7 +140,7 @@ typedef struct vlc_event_t
         /* Input (thread) events */
         struct vlc_input_state_changed
         {
-            input_state_e new_state;
+            int new_state;
         } input_state_changed;
 
         /* Input item events */