[gnome-boxes] Add libvirt-glib initialization
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Add libvirt-glib initialization
- Date: Tue, 11 Oct 2011 17:39:18 +0000 (UTC)
commit c3e3e123337aa221640c6d121055685e6409acee
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Tue Oct 11 19:11:01 2011 +0200
Add libvirt-glib initialization
src/main.vala | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/main.vala b/src/main.vala
index 7cac37f..21fe2a0 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -45,6 +45,12 @@ public void main (string[] args) {
parse_args (ref args);
+ try {
+ GVir.init_object_check (ref args);
+ } catch (GLib.Error e) {
+ error (e.message);
+ }
+
Gtk.Window.set_default_icon_name ("gnome-boxes");
Gtk.Settings.get_default ().gtk_application_prefer_dark_theme = true;
var provider = new Gtk.CssProvider ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]