Re: [Dbus-cxx-devel] Problem with expects_reply in 0.5.0
Status: Beta
Brought to you by:
rvinyard
From: Rick L. V. Jr. <rvi...@cs...> - 2010-01-04 21:25:46
|
You're right. I'll fix it in the next release. Julien Bonjean wrote: > Hi, > I'm using 0.5.0 version and I think I found a bug in the CallMessage > class. The method expects_reply() currently return the value of > dbus_message_get_no_reply. But the DBus API documentation explains that > dbus_message_get_no_reply function returns TRUE if the message does not > expect a reply. So expects_reply() method should be modified to : > bool CallMessage::expects_reply() const > { > if ( m_cobj == NULL ) return false; > return !dbus_message_get_no_reply( m_cobj ); > } > Regards, > > Julien Bonjean |