mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-04 19:00:17 +01:00
sysdeps: Return an error for _dbus_command_for_pid on Windows
If a function returns boolean for success/error, and returns a DBusError, then it should set the DBusError if and only if it returns FALSE. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
d70040d8d2
commit
47fc3ed2a9
1 changed files with 2 additions and 1 deletions
|
|
@ -1399,7 +1399,8 @@ _dbus_command_for_pid (unsigned long pid,
|
|||
int max_len,
|
||||
DBusError *error)
|
||||
{
|
||||
// FIXME
|
||||
dbus_set_error (error, DBUS_ERROR_NOT_SUPPORTED,
|
||||
"_dbus_command_for_pid() not implemented on Windows");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue