dbus: remove unused code

refcount is never incremented nor used, thus the connection was never properly closed

...shutdown bug still there
This commit is contained in:
Davide Andreoli 2016-08-08 15:29:01 +02:00
parent 78c9fe21af
commit ffb294b82f
2 changed files with 0 additions and 2 deletions

View File

@ -439,7 +439,6 @@ e_dbus_connection_close(E_DBus_Connection *conn)
close_connection++;
return;
}
if (--(conn->refcount) != 0) return;
dbus_connection_free_data_slot(&connection_slot);
dbus_connection_set_watch_functions(conn->conn,

View File

@ -35,7 +35,6 @@ struct E_DBus_Connection
Eina_List *fd_handlers;
Eina_List *timeouts;
Ecore_Idler *idler;
int refcount;
};
struct E_DBus_Handler_Data