[Dbus-cxx-devel] Problem with expects_reply in 0.5.0
Status: Beta
Brought to you by:
rvinyard
From: Julien B. <ju...@bo...> - 2009-12-22 02:55:24
|
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 |