edbus: rename DISCONNECTED event
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 17 Dec 2012 18:25:13 +0000 (18:25 +0000)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 17 Dec 2012 18:25:13 +0000 (18:25 +0000)
SVN revision: 81177

src/lib/edbus_connection.h
src/lib/edbus_core.c

index 7f8a9af..f2183aa 100644 (file)
@@ -103,7 +103,7 @@ EAPI void             *edbus_connection_data_del(EDBus_Connection *conn, const c
 typedef enum
 {
    EDBUS_CONNECTION_EVENT_DEL,
-   EDBUS_CONNECTION_DISCONNECTED,
+   EDBUS_CONNECTION_EVENT_DISCONNECTED,
    EDBUS_CONNECTION_EVENT_LAST    /**< sentinel, not a real event type */
 } EDBus_Connection_Event_Type;
 
index e9cbbb5..1f62aac 100644 (file)
@@ -906,8 +906,8 @@ static void
 _disconnected(void *data, const EDBus_Message *msg)
 {
    EDBus_Connection *conn = data;
-   _edbus_connection_event_callback_call(conn, EDBUS_CONNECTION_DISCONNECTED,
-                                         NULL);
+   _edbus_connection_event_callback_call(
+      conn, EDBUS_CONNECTION_EVENT_DISCONNECTED, NULL);
 }
 
 static EDBus_Connection *