summaryrefslogtreecommitdiff
path: root/setup_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup_menu.c')
-rw-r--r--setup_menu.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/setup_menu.c b/setup_menu.c
index b5c6d4f6..d9c623b1 100644
--- a/setup_menu.c
+++ b/setup_menu.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: setup_menu.c,v 1.85 2012-03-13 12:53:41 phintuka Exp $
+ * $Id: setup_menu.c,v 1.86 2012-03-13 13:05:14 phintuka Exp $
*
*/
@@ -1982,8 +1982,6 @@ eOSState cTestBitmap::ProcessKey(eKeys key)
#include <vdr/remote.h> // CallPlugin
-extern cOsdObject *g_PendingMenuAction;
-
class cMenuTestImages : public cMenuSetupPage {
protected:
@@ -2027,15 +2025,15 @@ eOSState cMenuTestImages::ProcessKey(eKeys Key)
switch (state) {
case osUser1:
if(cRemote::CallPlugin("xineliboutput"))
- g_PendingMenuAction = new cTestGrayscale();
+ xc.pending_menu_action = new cTestGrayscale();
return osEnd;
case osUser2:
if(cRemote::CallPlugin("xineliboutput"))
- g_PendingMenuAction = new cTestBitmap(1);
+ xc.pending_menu_action = new cTestBitmap(1);
return osEnd;
case osUser3:
if(cRemote::CallPlugin("xineliboutput"))
- g_PendingMenuAction = new cTestBitmap(4);
+ xc.pending_menu_action = new cTestBitmap(4);
return osEnd;
default: ;
}