|
From: <ai...@us...> - 2011-03-19 21:56:41
|
Revision: 11656
http://plplot.svn.sourceforge.net/plplot/?rev=11656&view=rev
Author: airwin
Date: 2011-03-19 21:56:35 +0000 (Sat, 19 Mar 2011)
Log Message:
-----------
Make PLplot parameters available to plserver. Without this fix, targets
such as test_tk_standard_examples which use plserver do not run
correctly.
Modified Paths:
--------------
trunk/bindings/tk/plserver.c
trunk/bindings/tk/plserver.h
Modified: trunk/bindings/tk/plserver.c
===================================================================
--- trunk/bindings/tk/plserver.c 2011-03-19 21:33:53 UTC (rev 11655)
+++ trunk/bindings/tk/plserver.c 2011-03-19 21:56:35 UTC (rev 11656)
@@ -235,6 +235,10 @@
Tcl_CreateCommand( interp, "exit", (Tcl_CmdProc *) plExitCmd,
(ClientData) mainWindow, (Tcl_CmdDeleteProc*) NULL );
+// Define the flags as variables in the PLPLOT namespace
+
+ set_plplot_parameters( interp );
+
return TCL_OK;
}
Modified: trunk/bindings/tk/plserver.h
===================================================================
--- trunk/bindings/tk/plserver.h 2011-03-19 21:33:53 UTC (rev 11655)
+++ trunk/bindings/tk/plserver.h 2011-03-19 21:56:35 UTC (rev 11656)
@@ -12,6 +12,7 @@
#include "plDevs.h"
#include "pltkd.h"
#include "pltcl.h"
+#include "plplot_parameters.h"
// State info for the rendering code
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|