projects
/
platform
/
core
/
system
/
sessiond.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd727cb
)
Actually pass the struct to the callback
93/273493/6
author
Mateusz Majewski
<m.majewski2@samsung.com>
Wed, 6 Apr 2022 10:04:03 +0000
(12:04 +0200)
committer
Mateusz Majewski
<m.majewski2@samsung.com>
Thu, 7 Apr 2022 12:25:01 +0000
(14:25 +0200)
Change-Id: I15d555dcc7d9ec71fce2575e93319005a3cea1f4
sessiond/src/main.cpp
patch
|
blob
|
history
diff --git
a/sessiond/src/main.cpp
b/sessiond/src/main.cpp
index 6655ffca7c2e143ef8984b714bd6429052a6ca74..33c4785a1a68dfcd615b597e54402698bea7c0b8 100644
(file)
--- a/
sessiond/src/main.cpp
+++ b/
sessiond/src/main.cpp
@@
-99,7
+99,7
@@
struct sessiond_context {
void on_bus_connected(GDBusConnection *connection)
{
guint registration_id = g_dbus_connection_register_object(
- connection, bus_object.data(), data.inner->interfaces[0], &table,
nullptr
, nullptr, nullptr);
+ connection, bus_object.data(), data.inner->interfaces[0], &table,
this
, nullptr, nullptr);
if (registration_id <= 0)
throw std::system_error(std::error_code(), "Couldn't register ID");
}