mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-02-04 10:40:56 +01:00
trivial: fix up two issues from code review
This commit is contained in:
parent
97a7824844
commit
b8dd8ffe1e
1 changed files with 2 additions and 2 deletions
|
|
@ -97,8 +97,8 @@ dkp_wakeups_get_data (DkpWakeups *wakeups, GError **error)
|
|||
GPtrArray *array = NULL;
|
||||
gboolean ret;
|
||||
|
||||
g_return_val_if_fail (DKP_IS_WAKEUPS (wakeups), FALSE);
|
||||
g_return_val_if_fail (wakeups->priv->proxy != NULL, FALSE);
|
||||
g_return_val_if_fail (DKP_IS_WAKEUPS (wakeups), NULL);
|
||||
g_return_val_if_fail (wakeups->priv->proxy != NULL, NULL);
|
||||
|
||||
g_type_gvalue_array = dbus_g_type_get_collection ("GPtrArray",
|
||||
dbus_g_type_get_struct("GValueArray",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue