Revision: 13133
http://sourceforge.net/p/plplot/code/13133
Author: hezekiahcarty
Date: 2014-07-03 14:40:58 +0000 (Thu, 03 Jul 2014)
Log Message:
-----------
Fix gtk initialization for newer lablgtk versions
Modified Paths:
--------------
trunk/examples/ocaml/xgtk_interface.ml
Modified: trunk/examples/ocaml/xgtk_interface.ml
===================================================================
--- trunk/examples/ocaml/xgtk_interface.ml 2014-07-01 11:41:11 UTC (rev 13132)
+++ trunk/examples/ocaml/xgtk_interface.ml 2014-07-03 14:40:58 UTC (rev 13133)
@@ -47,6 +47,7 @@
true
let () =
+ ignore (GtkMain.Main.init ());
(* Make a simple plot. *)
let plcairo =
plinit_cairo ~clear:true (plot_width, plot_height) plimagecairo
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|