diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2017-04-18 08:15:20 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-04-18 08:15:20 +0000 |
commit | 4d8cb251fbf260d44de6c6df8ac7dc29ac542409 (patch) | |
tree | afdafcc9f38f776f81eaff033c7eae979693ffe8 /src | |
parent | 9d875094d49e790a0aee189eca181e70a92d639b (diff) | |
download | arctica-greeter-4d8cb251fbf260d44de6c6df8ac7dc29ac542409.tar.gz arctica-greeter-4d8cb251fbf260d44de6c6df8ac7dc29ac542409.tar.bz2 arctica-greeter-4d8cb251fbf260d44de6c6df8ac7dc29ac542409.zip |
Use GenericSet instead of HashTable.
Diffstat (limited to 'src')
-rw-r--r-- | src/idle-monitor.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idle-monitor.vala b/src/idle-monitor.vala index e4e8510..2713223 100644 --- a/src/idle-monitor.vala +++ b/src/idle-monitor.vala @@ -4,7 +4,7 @@ public class IdleMonitor { private unowned X.Display display; private HashTable<uint, IdleMonitorWatch> watches; - private HashTable<uint32, uint32> alarms; + private GenericSet<uint32, uint32> alarms; private int sync_event_base; private X.ID counter; private X.ID user_active_alarm; @@ -13,7 +13,7 @@ public class IdleMonitor public IdleMonitor () { watches = new HashTable<uint, IdleMonitorWatch> (null, null); - alarms = new HashTable<uint32, uint32> (null, null); + alarms = new GenericSet<uint32, uint32> (null, null); init_xsync (); } |