aboutsummaryrefslogtreecommitdiff
path: root/src/greeter.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-04-27 10:43:08 +0200
committerCharles Kerr <charles.kerr@canonical.com>2016-04-27 10:43:08 +0200
commit020e49163abd558ae095ab9a00b6b69b4fdaef2a (patch)
tree6cf263fd8dace48849d4c6815308e1f8e6b8925a /src/greeter.cpp
parentccfe9ef48c6e072f5d0ec9918de90213a2f4a7ee (diff)
downloadayatana-indicator-display-020e49163abd558ae095ab9a00b6b69b4fdaef2a.tar.gz
ayatana-indicator-display-020e49163abd558ae095ab9a00b6b69b4fdaef2a.tar.bz2
ayatana-indicator-display-020e49163abd558ae095ab9a00b6b69b4fdaef2a.zip
remove the temporary tracers
Diffstat (limited to 'src/greeter.cpp')
-rw-r--r--src/greeter.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/greeter.cpp b/src/greeter.cpp
index ed210b0..962a01d 100644
--- a/src/greeter.cpp
+++ b/src/greeter.cpp
@@ -50,7 +50,6 @@ private:
void set_state(const State& state)
{
-g_message("%s setting state to %s", G_STRLOC, state_str(state));
m_state.set(state);
}
@@ -109,7 +108,6 @@ g_message("%s setting state to %s", G_STRLOC, state_str(state));
const char* name_owner,
gpointer gself)
{
-g_message("%s %s appared on bus, owned by %s", G_STRLOC, name, name_owner);
auto self = static_cast<Impl*>(gself);
self->m_owner = name_owner;
@@ -134,7 +132,6 @@ g_message("%s %s appared on bus, owned by %s", G_STRLOC, name, name_owner);
const char* name,
gpointer gself)
{
-g_message("%s %s disappeared from bus", G_STRLOC, name);
auto self = static_cast<Impl*>(gself);
self->m_owner.clear();
@@ -146,7 +143,6 @@ g_message("%s %s disappeared from bus", G_STRLOC, name);
GAsyncResult* res,
gpointer gself)
{
-g_message("%s", G_STRLOC);
GError* error {};
auto v = g_dbus_connection_call_finish(G_DBUS_CONNECTION(source), res, &error);
if (error != nullptr) {
@@ -154,7 +150,6 @@ g_message("%s", G_STRLOC);
g_warning("Greeter: Error getting IsActive property: %s", error->message);
g_clear_error(&error);
} else {
-g_message("%s got '%s'", G_STRLOC, g_variant_print(v, true));
GVariant* is_active {};
g_variant_get_child(v, 0, "v", &is_active);
static_cast<Impl*>(gself)->set_state(g_variant_get_boolean(is_active) ? State::ACTIVE : State::INACTIVE);
@@ -173,7 +168,6 @@ g_message("%s got '%s'", G_STRLOC, g_variant_print(v, true));
gpointer gself)
{
auto self = static_cast<Impl*>(gself);
-g_message("%s on_properties_changed got %s", G_STRLOC, g_variant_print(parameters, true));
g_return_if_fail(!g_strcmp0(sender_name, self->m_owner.c_str()));
g_return_if_fail(!g_strcmp0(object_path, DBusNames::UnityGreeter::PATH));