forked from enlightenment/enlightenment
bugfix: Fix e_notification file having missing initializers for Eldbus
Messages & Signals Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
a6dc950040
commit
59f080f527
|
@ -152,14 +152,14 @@ server_info_cb(const Eldbus_Service_Interface *iface EINA_UNUSED, const Eldbus_M
|
|||
static const Eldbus_Method methods[] = {
|
||||
{ "Notify",
|
||||
ELDBUS_ARGS({"s", "app_name"}, {"u", "replaces_id"}, {"s", "app_icon"}, {"s", "summary"}, {"s", "body"}, {"as", "actions"}, {"a{sv}", "hints"}, {"i", "expire_timeout"}),
|
||||
ELDBUS_ARGS({"u", "id"}), notify_cb },
|
||||
{ "CloseNotification", ELDBUS_ARGS({"u", "id"}), NULL, close_notification_cb },
|
||||
ELDBUS_ARGS({"u", "id"}), notify_cb, 0 },
|
||||
{ "CloseNotification", ELDBUS_ARGS({"u", "id"}), NULL, close_notification_cb, 0 },
|
||||
{ "GetCapabilities", NULL, ELDBUS_ARGS({"as", "capabilities"}),
|
||||
capabilities_cb },
|
||||
capabilities_cb, 0 },
|
||||
{ "GetServerInformation", NULL,
|
||||
ELDBUS_ARGS({"s", "name"}, {"s", "vendor"}, {"s", "version"}, {"s", "spec_version"}),
|
||||
server_info_cb },
|
||||
{ }
|
||||
server_info_cb, 0 },
|
||||
{ NULL, NULL, NULL, NULL, 0 }
|
||||
};
|
||||
|
||||
enum
|
||||
|
@ -170,10 +170,10 @@ enum
|
|||
|
||||
static const Eldbus_Signal signals[] = {
|
||||
[SIGNAL_NOTIFICATION_CLOSED] =
|
||||
{ "NotificationClosed", ELDBUS_ARGS({"u", "id"}, {"u", "reason"}) },
|
||||
{ "NotificationClosed", ELDBUS_ARGS({"u", "id"}, {"u", "reason"}), 0 },
|
||||
[SIGNAL_ACTION_INVOKED] =
|
||||
{ "ActionInvoked", ELDBUS_ARGS({"u", "id"}, {"s", "action_key"}) },
|
||||
{ }
|
||||
{ "ActionInvoked", ELDBUS_ARGS({"u", "id"}, {"s", "action_key"}), 0 },
|
||||
{ NULL, NULL, 0}
|
||||
};
|
||||
|
||||
#define PATH "/org/freedesktop/Notifications"
|
||||
|
|
Loading…
Reference in New Issue