enjoy: store control service interface

not a big deal as destroying the connection would already clear the
service interfaces, but make it explicit.



SVN revision: 80271
This commit is contained in:
Gustavo Sverzut Barbieri 2012-12-05 17:54:45 +00:00
parent 6027476d13
commit 0b63e01c9b
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ _cb_dbus_request_name(void *data __UNUSED__, const EDBus_Message *msg, EDBus_Pen
}
INF("Got DBus name - unique instance running.");
edbus_service_interface_register(conn, DBUS_PATH, &desc);
control = edbus_service_interface_register(conn, DBUS_PATH, &desc);
/* will run after other events run, in the main loop */
ecore_event_add(ENJOY_EVENT_STARTED, NULL, NULL, NULL);