mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-03 02:08:00 +02:00
daemon: do not access the inexistent error-message property from core
This is a remainder from the old WpRemote, which is gone. I would re-add the property, but it's not worth it, since libpipewire prints it as well by default
This commit is contained in:
parent
897d94c7dd
commit
48fbabcc3f
1 changed files with 2 additions and 6 deletions
|
|
@ -80,13 +80,9 @@ remote_state_changed (WpCore *core, WpRemoteState state,
|
|||
daemon_exit_static_str (d, WP_CODE_DISCONNECTED,
|
||||
"disconnected from pipewire");
|
||||
break;
|
||||
case WP_REMOTE_STATE_ERROR: {
|
||||
g_autofree gchar *error;
|
||||
g_object_get (core, "error-message", &error, NULL);
|
||||
daemon_exit (d, WP_CODE_OPERATION_FAILED, "pipewire remote error: %s",
|
||||
error);
|
||||
case WP_REMOTE_STATE_ERROR:
|
||||
daemon_exit (d, WP_CODE_OPERATION_FAILED, "pipewire remote error");
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue