x11 builds again.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 2 May 2011 08:36:00 +0000 (08:36 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 2 May 2011 08:36:00 +0000 (08:36 +0000)
intern/ghost/intern/GHOST_SystemX11.cpp
intern/ghost/intern/GHOST_SystemX11.h
source/blender/windowmanager/intern/wm_operators.c

index e2ee7044392810ca8d2494b615aa9c595a3a598b..63fc1f3c67ff500ab5fb1d4c6afb755631497e70 100644 (file)
@@ -1492,3 +1492,9 @@ void GHOST_SystemX11::putClipboard(GHOST_TInt8 *buffer, bool selection) const
 }
 
 
+int GHOST_SystemX11::toggleConsole(int action)
+{
+       /* do nothing */
+       (void)action;
+       return 0;
+}
index d0e7265951799a4f2381397d9c332d20bca04d80..58398975e5db5236580e7ddbdf022a14597c8a41 100644 (file)
@@ -227,6 +227,8 @@ public:
         */
        void putClipboard(GHOST_TInt8 *buffer, bool selection) const;
 
+       int toggleConsole(int action); /* dummy */
+
        /**
         * Atom used for ICCCM, WM-spec and Motif.
         * We only need get this atom at the start, it's relative
index fd39755607f7722cc86edabe13a1bc147b0b04dc..534e1f219f66bd4a4477f2b3fb13098c84ba0673 100644 (file)
@@ -2030,7 +2030,7 @@ static void WM_OT_quit_blender(wmOperatorType *ot)
 
 /* *********************** */
 
-static int wm_console_toggle_op(bContext *C, wmOperator *UNUSED(op))
+static int wm_console_toggle_op(bContext *UNUSED(C), wmOperator *UNUSED(op))
 {
        GHOST_toggleConsole(2);
        return OPERATOR_FINISHED;