@@ -1,39 +0,0 @@
-------------------------------------------------------------------------
-r717787 | mueller | 2007-09-27 17:21:57 +0200 (Thu, 27 Sep 2007) | 2 lines
-
-also accept uint32 as a reply
-
-------------------------------------------------------------------------
-Index: amarok/src/engine/yauap/yauap-engine.cpp
-===================================================================
---- amarok/src/engine/yauap/yauap-engine.cpp (revision 717786)
-+++ amarok/src/engine/yauap/yauap-engine.cpp (revision 717787)
-@@ -197,8 +197,9 @@ DBusConnection::call(const char *method,
-
- if (msg) {
- DBusMessageIter args;
-- if (dbus_message_iter_init(msg, &args) && DBUS_TYPE_INT32 ==
-- dbus_message_iter_get_arg_type(&args))
-+ if (dbus_message_iter_init(msg, &args) &&
-+ (DBUS_TYPE_INT32 == dbus_message_iter_get_arg_type(&args) ||
-+ DBUS_TYPE_UINT32 == dbus_message_iter_get_arg_type(&args)))
- dbus_message_iter_get_basic(&args, &ret);
-
- dbus_message_unref (msg);
-@@ -569,7 +570,7 @@ yauapEngine::length() const
- int length = con->call("get_length", DBUS_TYPE_INVALID);
- if (length < 0) return 0;
-
-- debug() << "=> " << length << endl;
-+ debug() << "length is => " << length << endl;
- return (uint) length;
- }
-
-@@ -580,6 +581,7 @@ yauapEngine::position() const
- int position = 0;
-
- position = con->call("get_position", DBUS_TYPE_INVALID);
-+
- if (position < 0) position = 0;
- return (uint) position;
- }
|