diff options
Diffstat (limited to 'ide')
| -rw-r--r-- | ide/coqide_main.ml | 2 | ||||
| -rw-r--r-- | ide/ideutils.ml | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ide/coqide_main.ml b/ide/coqide_main.ml index 21f513b8f4..79420b3857 100644 --- a/ide/coqide_main.ml +++ b/ide/coqide_main.ml @@ -8,7 +8,7 @@ (* * (see LICENSE file for the text of the license) *) (************************************************************************) -let _ = GtkMain.Main.init () +let _ = Coqide.set_signal_handlers () (* We handle Gtk warning messages ourselves : - on win32, we don't want them to end on a non-existing console diff --git a/ide/ideutils.ml b/ide/ideutils.ml index 5beaba3604..7a44d21ecf 100644 --- a/ide/ideutils.ml +++ b/ide/ideutils.ml @@ -8,9 +8,10 @@ (* * (see LICENSE file for the text of the license) *) (************************************************************************) - open Preferences +let _ = GtkMain.Main.init () + let warn_image () = let img = GMisc.image () in img#set_stock `DIALOG_WARNING; |
