change ghost/x11 toggleConsole to use dummy function in the header.

This commit is contained in:
Campbell Barton
2011-05-03 07:05:01 +00:00
parent e601dee168
commit 08a914095e
2 changed files with 5 additions and 10 deletions

View File

@@ -1490,11 +1490,3 @@ void GHOST_SystemX11::putClipboard(GHOST_TInt8 *buffer, bool selection) const
fprintf(stderr, "failed to own primary\n"); fprintf(stderr, "failed to own primary\n");
} }
} }
int GHOST_SystemX11::toggleConsole(int action)
{
/* do nothing */
(void)action;
return 0;
}

View File

@@ -227,7 +227,10 @@ public:
*/ */
void putClipboard(GHOST_TInt8 *buffer, bool selection) const; void putClipboard(GHOST_TInt8 *buffer, bool selection) const;
int toggleConsole(int action); /* dummy */ /**
* @see GHOST_ISystem
*/
int toggleConsole(int action) { return 0; }
/** /**
* Atom used for ICCCM, WM-spec and Motif. * Atom used for ICCCM, WM-spec and Motif.