mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-08 04:18:04 +02:00
lib: Fix crasher calling _about_to_sleep_sync()
https://bugs.freedesktop.org/show_bug.cgi?id=54976
This commit is contained in:
parent
a10a61e181
commit
fc5793e742
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ up_client_about_to_sleep_sync (UpClient *client,
|
|||
g_return_val_if_fail (client->priv->proxy != NULL, FALSE);
|
||||
|
||||
ret = dbus_g_proxy_call (client->priv->proxy, "AboutToSleep", &error_local,
|
||||
G_TYPE_STRING, sleep_kind,
|
||||
G_TYPE_STRING, up_sleep_kind_to_string (sleep_kind),
|
||||
G_TYPE_INVALID,
|
||||
G_TYPE_INVALID);
|
||||
if (!ret) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue