forked from enlightenment/enlightenment
bugfix: Cleanup msgbus module from having missing field initializers
for Eldbus Messages & Signals Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
d207db2fdf
commit
f168e42b45
|
@ -28,12 +28,12 @@ cb_audit_timer_dump(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||||
}
|
}
|
||||||
|
|
||||||
static const Eldbus_Method methods[] = {
|
static const Eldbus_Method methods[] = {
|
||||||
{ "Timers", NULL, ELDBUS_ARGS({"s", ""}), cb_audit_timer_dump },
|
{ "Timers", NULL, ELDBUS_ARGS({"s", ""}), cb_audit_timer_dump, 0 },
|
||||||
{ }
|
{ NULL, NULL, NULL, NULL, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
static const Eldbus_Service_Interface_Desc audit = {
|
static const Eldbus_Service_Interface_Desc audit = {
|
||||||
"org.enlightenment.wm.Audit", methods
|
"org.enlightenment.wm.Audit", methods, NULL, NULL, NULL, NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
void msgbus_audit_init(Eina_Array *ifaces)
|
void msgbus_audit_init(Eina_Array *ifaces)
|
||||||
|
|
|
@ -185,32 +185,32 @@ cb_desktop_bglist(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||||
|
|
||||||
static const Eldbus_Method desktop_methods[] = {
|
static const Eldbus_Method desktop_methods[] = {
|
||||||
{ "GetVirtualCount", NULL, ELDBUS_ARGS({"i", "desk_x"}, {"i", "desk_y"}),
|
{ "GetVirtualCount", NULL, ELDBUS_ARGS({"i", "desk_x"}, {"i", "desk_y"}),
|
||||||
cb_virtual_desktops },
|
cb_virtual_desktops, 0 },
|
||||||
{ "Show", ELDBUS_ARGS({"i", "desk_x"}, {"i", "desk_y"}), NULL,
|
{ "Show", ELDBUS_ARGS({"i", "desk_x"}, {"i", "desk_y"}), NULL,
|
||||||
cb_desktop_show },
|
cb_desktop_show, 0 },
|
||||||
{ "ShowByName", ELDBUS_ARGS({"s", "desk_name"}), NULL,
|
{ "ShowByName", ELDBUS_ARGS({"s", "desk_name"}), NULL,
|
||||||
cb_desktop_show_by_name },
|
cb_desktop_show_by_name, 0 },
|
||||||
{ "Lock", NULL, NULL, cb_desktop_lock },
|
{ "Lock", NULL, NULL, cb_desktop_lock, 0 },
|
||||||
{ "Unlock", NULL, NULL, cb_desktop_unlock },
|
{ "Unlock", NULL, NULL, cb_desktop_unlock, 0 },
|
||||||
{ }
|
{ NULL, NULL, NULL, NULL, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
static const Eldbus_Method background_methods[] = {
|
static const Eldbus_Method background_methods[] = {
|
||||||
{ "Add",
|
{ "Add",
|
||||||
ELDBUS_ARGS({"i", "manager"}, {"i", "zone"}, {"i", "desk_x"}, {"i", "desk_y"}, {"s", "path"}),
|
ELDBUS_ARGS({"i", "manager"}, {"i", "zone"}, {"i", "desk_x"}, {"i", "desk_y"}, {"s", "path"}),
|
||||||
NULL, cb_desktop_bgadd },
|
NULL, cb_desktop_bgadd, 0 },
|
||||||
{ "Del", ELDBUS_ARGS({"i", "manager"}, {"i", "zone"}, {"i", "desk_x"}, {"i", "desk_y"}),
|
{ "Del", ELDBUS_ARGS({"i", "manager"}, {"i", "zone"}, {"i", "desk_x"}, {"i", "desk_y"}),
|
||||||
NULL, cb_desktop_bgdel },
|
NULL, cb_desktop_bgdel, 0 },
|
||||||
{ "List", ELDBUS_ARGS({"a(iiiis)", "array_of_bg"}), NULL, cb_desktop_bglist },
|
{ "List", ELDBUS_ARGS({"a(iiiis)", "array_of_bg"}), NULL, cb_desktop_bglist, 0 },
|
||||||
{ }
|
{ NULL, NULL, NULL, NULL, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
static const Eldbus_Service_Interface_Desc desktop = {
|
static const Eldbus_Service_Interface_Desc desktop = {
|
||||||
"org.enlightenment.wm.Desktop", desktop_methods
|
"org.enlightenment.wm.Desktop", desktop_methods, NULL, NULL, NULL, NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
static const Eldbus_Service_Interface_Desc bg = {
|
static const Eldbus_Service_Interface_Desc bg = {
|
||||||
"org.enlightenment.wm.Desktop.Background", background_methods
|
"org.enlightenment.wm.Desktop.Background", background_methods, NULL, NULL, NULL, NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
void msgbus_desktop_init(Eina_Array *ifaces)
|
void msgbus_desktop_init(Eina_Array *ifaces)
|
||||||
|
|
Loading…
Reference in New Issue