e/notification: fix typo and use designated initializers on server

SVN revision: 82121
This commit is contained in:
Lucas De Marchi 2013-01-03 22:08:19 +00:00
parent 2aca12cc2e
commit 23c7d0a98b
2 changed files with 8 additions and 3 deletions

View File

@ -293,7 +293,7 @@ end:
}
static Eina_Bool
notification_cliend_dbus_send(E_Notification_Notify *notify, E_Notification_Client_Send_Cb cb, const void *data)
notification_client_dbus_send(E_Notification_Notify *notify, E_Notification_Client_Send_Cb cb, const void *data)
{
EDBus_Connection *conn;
EDBus_Message *msg;
@ -392,8 +392,9 @@ e_notification_client_send(E_Notification_Notify *notify, E_Notification_Client_
EINA_SAFETY_ON_NULL_RETURN_VAL(notify, EINA_FALSE);
normalize_notify(notify);
if (!n_data)
return notification_cliend_dbus_send(notify, cb, data);
return notification_client_dbus_send(notify, cb, data);
//local
copy = malloc(sizeof(E_Notification_Notify));

View File

@ -153,7 +153,11 @@ _notification_corner_info_cb(E_Configure_Option *co)
EAPI E_Module_Api e_modapi = {E_MODULE_API_VERSION, "Notification"};
static const E_Notification_Server_Info server_info = {
"e17", "enlightenment.org", "0.17", "1.2", {"body", "body-markup", NULL}
.name = "e17",
.vendor = "enlightenment.org",
.version = "0.17",
.spec_version = "1.2",
.capabilities = { "body", "body-markup", NULL }
};
/* Callbacks */