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:
parent
78c9fe21af
commit
ffb294b82f
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue