aboutsummaryrefslogtreecommitdiffhomepage
path: root/ide/preferences.mli
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2015-08-26 00:47:26 +0200
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2015-08-31 09:09:21 +0200
commitc53f2f75375dfffd2f258c76f5b722d37ab0daf9 (patch)
tree9897889d0f6470ccc93af255c975c04520ba89ee /ide/preferences.mli
parentf1ecbf5014dac5a1bfbd4a5bb352fe303280e44b (diff)
Switching to an event-based mechanism for CoqIDE preferences.
There is no remaining hook in the preferences. In particular, the refresh_editor_hook is gone.
Diffstat (limited to 'ide/preferences.mli')
-rw-r--r--ide/preferences.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/ide/preferences.mli b/ide/preferences.mli
index 351463ea0..d815c01dd 100644
--- a/ide/preferences.mli
+++ b/ide/preferences.mli
@@ -91,7 +91,7 @@ val load_pref : unit -> unit
val configure : ?apply:(unit -> unit) -> unit -> unit
-(* Hooks *)
-val refresh_editor_hook : (unit -> unit) ref
+val stick : 'a preference ->
+ (#GObj.widget as 'obj) -> ('a -> unit) -> unit
val use_default_doc_url : string