[gnome-boxes] machine-thumbnailer: 'machine' setter now private
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] machine-thumbnailer: 'machine' setter now private
- Date: Sat, 22 Aug 2015 12:11:08 +0000 (UTC)
commit c2c491e93ae70755935ebdd64b7ad932eefc02e6
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Aug 19 19:19:18 2015 +0100
machine-thumbnailer: 'machine' setter now private
Make 'machine' property setter private.
https://bugzilla.gnome.org/show_bug.cgi?id=733252
src/machine-thumbnailer.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/machine-thumbnailer.vala b/src/machine-thumbnailer.vala
index cea4e3c..0688d87 100644
--- a/src/machine-thumbnailer.vala
+++ b/src/machine-thumbnailer.vala
@@ -14,12 +14,12 @@ private class Boxes.MachineThumbnailer: Object {
public const int SMALL_EMBLEM_SIZE = 16;
public const int EMBLEM_PADDING = 8;
- public weak Machine machine { get; construct; }
+ public weak Machine machine { get; private set; }
public Gdk.Pixbuf thumbnail { get; private set; }
public MachineThumbnailer (Machine machine) {
- Object (machine: machine);
+ this.machine = machine;
}
construct {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]