From 6edfb34cb3eee958e392a433ae9ac4f240279d09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 23 Jul 2014 11:40:08 +0200 Subject: Imported Upstream version 0.5.5 --- src/actionGroups/clipboardGroup.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/actionGroups/clipboardGroup.vala') diff --git a/src/actionGroups/clipboardGroup.vala b/src/actionGroups/clipboardGroup.vala index 836c927..c104d62 100644 --- a/src/actionGroups/clipboardGroup.vala +++ b/src/actionGroups/clipboardGroup.vala @@ -79,7 +79,7 @@ public class ClipboardGroup : ActionGroup { /// The maximum remembered items of the clipboard. ///////////////////////////////////////////////////////////////////// - private const int max_items = 6; + private static const int max_items = 6; private Gee.ArrayList items; @@ -98,7 +98,7 @@ public class ClipboardGroup : ActionGroup { private void add_item(Gtk.Clipboard c, Gtk.SelectionData contents) { var new_item = new ClipboardItem(contents); - if (this.items.size == this.max_items) + if (this.items.size == ClipboardGroup.max_items) this.items.remove_at(0); this.items.add(new_item); -- cgit v1.2.3