[gnome-boxes] libvirt-machine-props: Fix visibility of a few methods
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] libvirt-machine-props: Fix visibility of a few methods
- Date: Mon, 9 Dec 2013 23:21:55 +0000 (UTC)
commit 4fb18bea52c57d727abbcd8b2ae211833c62a188
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sat Jan 12 03:43:24 2013 +0200
libvirt-machine-props: Fix visibility of a few methods
https://bugzilla.gnome.org/show_bug.cgi?id=677688
src/libvirt-machine-properties.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libvirt-machine-properties.vala b/src/libvirt-machine-properties.vala
index c12eca2..25d4933 100644
--- a/src/libvirt-machine-properties.vala
+++ b/src/libvirt-machine-properties.vala
@@ -12,7 +12,7 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
this.machine = machine;
}
- public bool try_change_name (string name) {
+ private bool try_change_name (string name) {
try {
var config = machine.domain.get_config (GVir.DomainXMLFlags.INACTIVE);
// Te use libvirt "title" for free form user name
@@ -29,7 +29,7 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
}
}
- public void try_enable_usb_redir () throws GLib.Error {
+ private void try_enable_usb_redir () throws GLib.Error {
var config = machine.domain.get_config (GVir.DomainXMLFlags.INACTIVE);
// Remove any old usb configuration from old config
@@ -43,7 +43,7 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
notify_reboot_required ();
}
- public void try_enable_smartcard () throws GLib.Error {
+ private void try_enable_smartcard () throws GLib.Error {
var config = machine.domain.get_config (GVir.DomainXMLFlags.INACTIVE);
VMConfigurator.add_smartcard_support (config);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]