From 59f080f5271ed0d0d30c3ed7ae12bf3847cd3e08 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 18 Sep 2014 13:29:52 -0400 Subject: [PATCH] bugfix: Fix e_notification file having missing initializers for Eldbus Messages & Signals Signed-off-by: Chris Michael --- src/bin/e_notification.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/bin/e_notification.c b/src/bin/e_notification.c index ededa2faa..021ab0c52 100644 --- a/src/bin/e_notification.c +++ b/src/bin/e_notification.c @@ -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"