summaryrefslogtreecommitdiff
path: root/x11/lablgtk/patches/patch-ac
blob: e266029636820dd4e56a0528572d1b5c03d7b247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$NetBSD: patch-ac,v 1.1 2010/08/28 16:13:25 wiz Exp $

From
http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/dist/lablgtk2-20100626.tar.gz
for building against ocaml-3.12.*.

--- src/gButton.mli.orig	2008-08-03 14:43:59.000000000 +0000
+++ src/gButton.mli
@@ -357,9 +357,10 @@ end
 (** @gtkdoc gtk GtkToolItem 
     @since GTK 2.4 *)
 class tool_item : 
-  [> Gtk.tool_item] obj ->
+  ([> Gtk.tool_item] as 'a) obj ->
   object
     inherit tool_item_skel
+    val obj : 'a obj
     method connect : GContainer.container_signals
   end
 
@@ -423,9 +424,10 @@ class tool_button_skel :
 (** @gtkdoc gtk GtkToolButton
     @since GTK 2.4 *)
 class tool_button : 
-  [> Gtk.tool_button] obj ->
+  ([> Gtk.tool_button] as 'a) obj ->
   object
     inherit tool_button_skel
+    val obj : 'a obj
     method connect : tool_button_signals
   end