check return value

This commit is contained in:
Andreas Volz 2009-10-06 21:39:58 +02:00
parent 1979ced0e0
commit a2f2b93e36
2 changed files with 13 additions and 2 deletions

View file

@ -126,7 +126,10 @@ int main(int argc, char *argv[])
dispatcher.attach(NULL);
// activate one of both for either system or session bus
// TODO: choose in the GUI
DBus::Connection conn = DBus::Connection::SessionBus();
//DBus::Connection conn = DBus::Connection::SystemBus();
DBusBrowser browser(conn);