mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-02-05 00:40:31 +01:00
device: Export up_device_register()
It will be useful when we want to show some devices that aren't duplicated any more.
This commit is contained in:
parent
8356dd01d6
commit
8c8c6315f9
2 changed files with 2 additions and 1 deletions
|
|
@ -423,7 +423,7 @@ up_device_compute_object_path (UpDevice *device)
|
|||
return object_path;
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
up_device_register (UpDevice *device)
|
||||
{
|
||||
char *object_path = up_device_compute_object_path (device);
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ void up_device_sibling_discovered (UpDevice *device,
|
|||
gboolean up_device_refresh_internal (UpDevice *device,
|
||||
UpRefreshReason reason);
|
||||
void up_device_unregister (UpDevice *device);
|
||||
void up_device_register (UpDevice *device);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue