efl net - fix dbus field init to init all fields in a struct

This commit is contained in:
Carsten Haitzler 2018-11-08 12:32:28 +00:00
parent 11b9f9a4dd
commit 0fd2b812cc
1 changed files with 15 additions and 6 deletions

View File

@ -408,16 +408,25 @@ static const Eldbus_Service_Interface_Desc _efl_net_session_notifier_desc = {
.interface = "net.connman.Notification",
.methods = (const Eldbus_Method []){
{
.member = "Release",
.cb = _efl_net_session_notifier_release,
.member = "Release",
.in = NULL,
.out = NULL,
.cb = _efl_net_session_notifier_release,
.flags = 0
},
{
.member = "Update",
.in = ELDBUS_ARGS({"a{sv}", "settings"}),
.cb = _efl_net_session_notifier_update,
.member = "Update",
.in = ELDBUS_ARGS({"a{sv}", "settings"}),
.out = NULL,
.cb = _efl_net_session_notifier_update,
.flags = 0
},
{ }
{ NULL, NULL, NULL, NULL, 0 }
},
.signals = NULL,
.properties = NULL,
.default_get = NULL,
.default_set = NULL
};
/* return of step #2: session was created, get a proxy for it */