Commit 2bdf2b3e51f512668f2d6fa7151d479dfdafadd1

Authored by Perry Werneck
1 parent 3138caa8
Exists in master and in 1 other branch develop

Fixing set_unlock_delay.

client/src/session/remote/properties.cc
... ... @@ -134,16 +134,9 @@
134 134  
135 135 void IPC::Session::setUnlockDelay(unsigned short delay) {
136 136  
137   - int32_t rc = -1;
138   -
139 137 Request(*this,true,"unlock_delay")
140 138 .push((uint32_t) delay)
141   - .call()
142   - .pop(rc);
143   -
144   - if(rc) {
145   - throw std::system_error((int) rc, std::system_category());
146   - }
  139 + .call();
147 140  
148 141 }
149 142  
... ...
server/testscripts/getproperty.sh
... ... @@ -7,7 +7,7 @@ dbus-send \
7 7 --session \
8 8 --dest=br.com.bb.pw3270.a\
9 9 --print-reply \
10   - "/br/com/bb/tn3270/session" \
  10 + "/br/com/bb/pw3270/a" \
11 11 "org.freedesktop.DBus.Properties.Get" \
12 12 string:br.com.bb.tn3270.session \
13 13 string:${1}
... ...