Browse Source

devicechannel: use explicit types instead of var

bboozzoo/device-cache
Maciek Borzecki 10 years ago
parent
commit
6f9a8123c6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/devicechannel.vala

+ 2
- 2
src/devicechannel.vala View File

@ -67,8 +67,8 @@ class DeviceChannel : Object {
_din.set_newline_type(DataStreamNewlineType.LF);
// setup socket monitoring
var sock = _conn.get_socket();
var source = sock.create_source(IOCondition.IN | IOCondition.ERR |
Socket sock = _conn.get_socket();
SocketSource source = sock.create_source(IOCondition.IN | IOCondition.ERR |
IOCondition.HUP);
source.set_callback((src, cond) => {
this._io_ready();


Loading…
Cancel
Save