summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/example/hello.ml
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/labltk/example/hello.ml')
-rw-r--r--otherlibs/labltk/example/hello.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/labltk/example/hello.ml b/otherlibs/labltk/example/hello.ml
index 47d0201d1..603f62a8a 100644
--- a/otherlibs/labltk/example/hello.ml
+++ b/otherlibs/labltk/example/hello.ml
@@ -25,7 +25,7 @@ let top = openTk ()
(* create a button on top *)
(* Button.create : use of create function defined in button.ml *)
(* But you shouldn't open Button module for other widget class modules use *)
-let b = Button.create text: "Hello, LablTk!" top
+let b = Button.create ~text: "Hello, LablTk!" top
(* Lack of toplevel expressions in lsl, you must use dummy let exp. *)
let _ = pack [coe b]