git.annexia.org
/
virt-top.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated deps.
[virt-top.git]
/
virt-ctrl
/
virt_ctrl.ml
diff --git
a/virt-ctrl/virt_ctrl.ml
b/virt-ctrl/virt_ctrl.ml
index
8a01a04
..
c7c4620
100644
(file)
--- a/
virt-ctrl/virt_ctrl.ml
+++ b/
virt-ctrl/virt_ctrl.ml
@@
-1,4
+1,4
@@
-(* virt-
manager-like
graphical management tool.
+(* virt-
ctrl: A
graphical management tool.
(C) Copyright 2007 Richard W.M. Jones, Red Hat Inc.
http://libvirt.org/
(C) Copyright 2007 Richard W.M. Jones, Red Hat Inc.
http://libvirt.org/
@@
-22,11
+22,14
@@
open Printf
let () =
(* Build the main window and wire up the buttons to the callback functions *)
Vc_mainwindow.make
let () =
(* Build the main window and wire up the buttons to the callback functions *)
Vc_mainwindow.make
- ~open_connection:Vc_connections.open_connection
~start_domain:Vc_domain_ops.start_domain
~pause_domain:Vc_domain_ops.pause_domain
~resume_domain:Vc_domain_ops.resume_domain
~start_domain:Vc_domain_ops.start_domain
~pause_domain:Vc_domain_ops.pause_domain
~resume_domain:Vc_domain_ops.resume_domain
- ~shutdown_domain:Vc_domain_ops.shutdown_domain;
+ ~shutdown_domain:Vc_domain_ops.shutdown_domain
+ ~open_domain_details:Vc_domain_ops.open_domain_details;
(* Enter the Gtk main loop. *)
(* Enter the Gtk main loop. *)
- GMain.main ()
+ GMain.main ();
+
+ (* Useful to catch memory bugs in the ocaml libvirt bindings. *)
+ Gc.compact ()