edbus: rename DISCONNECTED event

SVN revision: 81177
This commit is contained in:
Lucas De Marchi 2012-12-17 18:25:13 +00:00
parent d2c7cdd0d6
commit c4cedac312
2 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ EAPI void *edbus_connection_data_del(EDBus_Connection *conn, const c
typedef enum typedef enum
{ {
EDBUS_CONNECTION_EVENT_DEL, EDBUS_CONNECTION_EVENT_DEL,
EDBUS_CONNECTION_DISCONNECTED, EDBUS_CONNECTION_EVENT_DISCONNECTED,
EDBUS_CONNECTION_EVENT_LAST /**< sentinel, not a real event type */ EDBUS_CONNECTION_EVENT_LAST /**< sentinel, not a real event type */
} EDBus_Connection_Event_Type; } EDBus_Connection_Event_Type;

View File

@ -906,8 +906,8 @@ static void
_disconnected(void *data, const EDBus_Message *msg) _disconnected(void *data, const EDBus_Message *msg)
{ {
EDBus_Connection *conn = data; EDBus_Connection *conn = data;
_edbus_connection_event_callback_call(conn, EDBUS_CONNECTION_DISCONNECTED, _edbus_connection_event_callback_call(
NULL); conn, EDBUS_CONNECTION_EVENT_DISCONNECTED, NULL);
} }
static EDBus_Connection * static EDBus_Connection *