mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-18 21:58:15 +02:00
trivial: return FALSE in callback
Signed-off-by: Richard Hughes <richard@hughsie.com>
This commit is contained in:
parent
41e678a8f4
commit
23948aed38
1 changed files with 2 additions and 0 deletions
|
|
@ -135,6 +135,8 @@ up_backend_apm_powerchange_event_cb(gpointer object)
|
|||
g_return_if_fail (UP_IS_BACKEND (object));
|
||||
backend = UP_BACKEND (object);
|
||||
g_message("Got event, in callback");
|
||||
/* return false to not endless loop */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* thread doing kqueue() on apm device */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue