From 21cff2a40a629fd6543403f61ef8da0591711cf9 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Tue, 3 Apr 2001 07:53:51 +0000 Subject: [PATCH] Updated to lablgtk 1.2 and ocaml-3.01. --- helm/DEVEL/lablgtkmathview/configure.in | 2 +- helm/DEVEL/lablgtkmathview/gtkMathView.ml | 2 +- helm/DEVEL/lablgtkmathview/test/Makefile | 2 +- helm/DEVEL/lablgtkmathview/test/test.ml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/helm/DEVEL/lablgtkmathview/configure.in b/helm/DEVEL/lablgtkmathview/configure.in index 54d95f48d..cccc5ea1a 100644 --- a/helm/DEVEL/lablgtkmathview/configure.in +++ b/helm/DEVEL/lablgtkmathview/configure.in @@ -4,7 +4,7 @@ PACKAGE=lablgtkmathview LABLGTKMATHVIEW_MAJOR_VERSION=0 LABLGTKMATHVIEW_MINOR_VERSION=2 -LABLGTKMATHVIEW_MICRO_VERSION=2 +LABLGTKMATHVIEW_MICRO_VERSION=4 LABLGTKMATHVIEW_VERSION=$LABLGTKMATHVIEW_MAJOR_VERSION.$LABLGTKMATHVIEW_MINOR_VERSION.$LABLGTKMATHVIEW_MICRO_VERSION VERSION=$LABLGTKMATHVIEW_VERSION diff --git a/helm/DEVEL/lablgtkmathview/gtkMathView.ml b/helm/DEVEL/lablgtkmathview/gtkMathView.ml index 67a634a16..f4edcf588 100644 --- a/helm/DEVEL/lablgtkmathview/gtkMathView.ml +++ b/helm/DEVEL/lablgtkmathview/gtkMathView.ml @@ -82,7 +82,7 @@ module MathView = struct "ml_gtk_math_view_get_vadjustment" external get_buffer : [>`math_view] obj -> Gdk.pixmap = "ml_gtk_math_view_get_buffer" - external get_frame : [>`math_view] obj -> [`frame] obj = + external get_frame : [>`math_view] obj -> Gtk.frame obj = "ml_gtk_math_view_get_frame" external set_font_size : [>`math_view] obj -> int -> unit = "ml_gtk_math_view_set_font_size" diff --git a/helm/DEVEL/lablgtkmathview/test/Makefile b/helm/DEVEL/lablgtkmathview/test/Makefile index d631d239f..514d24640 100644 --- a/helm/DEVEL/lablgtkmathview/test/Makefile +++ b/helm/DEVEL/lablgtkmathview/test/Makefile @@ -1,6 +1,6 @@ LABLGTK_DIR = /usr/lib/ocaml/lablgtk LABLGTK_MATHVIEW_DIR = .. -MINIDOM_DIR = ../minidom +MINIDOM_DIR = /usr/lib/ocaml/mlminidom OCAMLC = ocamlc -I $(LABLGTK_DIR) -I $(LABLGTK_MATHVIEW_DIR) \ -I $(MINIDOM_DIR) -I mlmathview OCAMLOPT = ocamlopt -I $(LABLGTK_DIR) -I $(LABLGTK_MATHVIEW_DIR) \ diff --git a/helm/DEVEL/lablgtkmathview/test/test.ml b/helm/DEVEL/lablgtkmathview/test/test.ml index 1f2718003..3e2edeed1 100644 --- a/helm/DEVEL/lablgtkmathview/test/test.ml +++ b/helm/DEVEL/lablgtkmathview/test/test.ml @@ -256,7 +256,7 @@ let export_to_postscript (mathview : GMathView.math_view) () = (* Widget creation *) let main_window = GWindow.window ~title:"GtkMathView test" () in let vbox = GPack.vbox ~packing:main_window#add () in -let sw = GFrame.scrolled_window ~width:50 ~height:50 ~packing:vbox#pack () in +let sw = GBin.scrolled_window ~width:50 ~height:50 ~packing:vbox#pack () in let mathview= GMathView.math_view ~packing:sw#add ~width:50 ~height:50 () in let table = GPack.table ~rows:6 ~columns:5 ~packing:vbox#pack () in let button_gtk=GButton.button ~label:"activate Gtk fonts" ~packing:(table#attach ~left:0 ~top:0) () in -- 2.39.2