[gnome-boxes] wizard-source: Make num_visible a property
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] wizard-source: Make num_visible a property
- Date: Tue, 17 Feb 2015 14:28:44 +0000 (UTC)
commit 0f78cc734a716b4ac5ad2e5f4ec496abd694d968
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Feb 16 16:19:42 2015 +0000
wizard-source: Make num_visible a property
We won't get any notifications for changes in a field and we hook to
that so make it a property.
src/wizard-source.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wizard-source.vala b/src/wizard-source.vala
index 4d18ae6..5e52116 100644
--- a/src/wizard-source.vala
+++ b/src/wizard-source.vala
@@ -16,7 +16,7 @@ private class Boxes.WizardScrolled : Gtk.ScrolledWindow {
[GtkChild]
public Gtk.Box vbox;
- private int num_visible;
+ private int num_visible { get; set; }
// Ideally, we shouldn't need this fuction but is there a way to connect
// vscrollbar signals from the UI template?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]