[yast-commit] r64177 - in /trunk/dbus-client: VERSION agent-dbus/src/DbusAgent.cc package/yast2-dbus-client.changes
Author: aschnell Date: Tue May 31 16:06:38 2011 New Revision: 64177 URL: http://svn.opensuse.org/viewcvs/yast?rev=64177&view=rev Log: - fixed passing bool to dbus library Modified: trunk/dbus-client/VERSION trunk/dbus-client/agent-dbus/src/DbusAgent.cc trunk/dbus-client/package/yast2-dbus-client.changes Modified: trunk/dbus-client/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/dbus-client/VERSION?rev=64177&r1=64176&r2=64177&view=diff ============================================================================== --- trunk/dbus-client/VERSION (original) +++ trunk/dbus-client/VERSION Tue May 31 16:06:38 2011 @@ -1 +1 @@ -2.18.0 +2.21.0 Modified: trunk/dbus-client/agent-dbus/src/DbusAgent.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/dbus-client/agent-dbus/src/DbusAgent.cc?rev=64177&r1=64176&r2=64177&view=diff ============================================================================== --- trunk/dbus-client/agent-dbus/src/DbusAgent.cc (original) +++ trunk/dbus-client/agent-dbus/src/DbusAgent.cc Tue May 31 16:06:38 2011 @@ -135,7 +135,7 @@ if (tmp3->isString()) { - const char* param = tmp3->asString()->value_cstr(); + const char* const param = tmp3->asString()->value_cstr(); if (!dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, ¶m)) { dbus_message_unref(message); @@ -144,7 +144,7 @@ } else if (tmp3->isBoolean()) { - bool param = tmp3->asBoolean()->value(); + dbus_bool_t param = tmp3->asBoolean()->value() ? TRUE : FALSE; if (!dbus_message_iter_append_basic(&args, DBUS_TYPE_BOOLEAN, ¶m)) { dbus_message_unref(message); Modified: trunk/dbus-client/package/yast2-dbus-client.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/dbus-client/package/yast2-dbus-client.changes?rev=64177&r1=64176&r2=64177&view=diff ============================================================================== --- trunk/dbus-client/package/yast2-dbus-client.changes (original) +++ trunk/dbus-client/package/yast2-dbus-client.changes Tue May 31 16:06:38 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue May 31 16:04:48 CEST 2011 - aschnell@suse.de + +- fixed passing bool to dbus library +- 2.21.0 + +------------------------------------------------------------------- Mon Jul 27 09:37:48 CEST 2009 - lslezak@suse.cz - Initial version (2.18.0) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn2.opensuse.org