diff --git a/src/modules/sni/snh.cpp b/src/modules/sni/snh.cpp index 74abf2e..99ee662 100644 --- a/src/modules/sni/snh.cpp +++ b/src/modules/sni/snh.cpp @@ -32,7 +32,7 @@ void Host::nameAppeared(GDBusConnection* connection, { auto host = static_cast(data); if (host->cancellable_ != nullptr) { - std::cout << "WTF" << std::endl; + // TODO } host->cancellable_ = g_cancellable_new(); sn_org_kde_status_notifier_watcher_proxy_new( @@ -110,7 +110,6 @@ void Host::registerHost(GObject* src, GAsyncResult* res, void Host::itemRegistered( SnOrgKdeStatusNotifierWatcher* watcher, const gchar* service, gpointer data) { - std::cout << "Item registered" << std::endl; auto host = static_cast(data); host->addRegisteredItem(service); } @@ -123,7 +122,6 @@ void Host::itemUnregistered( for (auto it = host->items.begin(); it != host->items.end(); ++it) { if (it->bus_name == bus_name && it->object_path == object_path) { host->items.erase(it); - std::cout << "Item Unregistered" << std::endl; break; } } diff --git a/src/modules/sni/snw.cpp b/src/modules/sni/snw.cpp index 208cc1e..eff4cd1 100644 --- a/src/modules/sni/snw.cpp +++ b/src/modules/sni/snw.cpp @@ -40,7 +40,6 @@ void Watcher::busAcquired(GDBusConnection* connection, const gchar* name, sn_org_kde_status_notifier_watcher_set_protocol_version(host->watcher_, 0); sn_org_kde_status_notifier_watcher_set_is_status_notifier_host_registered( host->watcher_, TRUE); - std::cout << "Bus aquired" << std::endl; } gboolean Watcher::handleRegisterHost(Watcher* obj, @@ -75,7 +74,6 @@ gboolean Watcher::handleRegisterHost(Watcher* obj, } sn_org_kde_status_notifier_watcher_complete_register_status_notifier_host( obj->watcher_, invocation); - std::cout << "Host registered: " << bus_name << std::endl; return TRUE; }