aboutsummaryrefslogtreecommitdiff
path: root/src/greeter.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-04-20 17:32:17 -0500
committerCharles Kerr <charles.kerr@canonical.com>2016-04-20 17:32:17 -0500
commite1284eb774d75f96d61787f116b0d79328b27286 (patch)
tree9d540e2502fc471d3b4f5d973c39f38a8ff350c0 /src/greeter.cpp
parentcb46051005d5d9d1f21d7cb82b9fffd21f88c4c9 (diff)
downloadayatana-indicator-display-e1284eb774d75f96d61787f116b0d79328b27286.tar.gz
ayatana-indicator-display-e1284eb774d75f96d61787f116b0d79328b27286.tar.bz2
ayatana-indicator-display-e1284eb774d75f96d61787f116b0d79328b27286.zip
remove tracers
Diffstat (limited to 'src/greeter.cpp')
-rw-r--r--src/greeter.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/greeter.cpp b/src/greeter.cpp
index 9d331d7..903bd2a 100644
--- a/src/greeter.cpp
+++ b/src/greeter.cpp
@@ -30,8 +30,6 @@ public:
m_bus(G_DBUS_CONNECTION(g_object_ref(connection))),
m_cancellable{g_cancellable_new()}
{
-g_message("%s %s", G_STRLOC, G_STRFUNC);
-
m_watcher_id = g_bus_watch_name_on_connection(
m_bus,
DBusNames::UnityGreeter::NAME,
@@ -76,7 +74,6 @@ private:
const char* name_owner,
gpointer gself)
{
- g_message("%s %s", G_STRLOC, G_STRFUNC);
auto self = static_cast<Impl*>(gself);
self->m_owner = name_owner;
@@ -101,7 +98,6 @@ private:
const char* /*name*/,
gpointer gself)
{
- g_message("%s %s", G_STRLOC, G_STRFUNC);
auto self = static_cast<Impl*>(gself);
self->m_owner.clear();
@@ -113,7 +109,6 @@ private:
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) {
@@ -121,7 +116,6 @@ private:
g_warning("Greeter: Error getting IsActive property: %s", error->message);
g_clear_error(&error);
} else {
- g_message("%s v is %s", G_STRLOC, g_variant_print(v, true));
GVariant* is_active {};
g_variant_get_child(v, 0, "v", &is_active);
static_cast<Impl*>(gself)->m_is_active.set(g_variant_get_boolean(is_active));
@@ -148,13 +142,11 @@ private:
g_return_if_fail(g_variant_is_of_type(parameters, G_VARIANT_TYPE(DBusNames::Properties::PropertiesChanged::ARGS_VARIANT_TYPE)));
auto v = g_variant_get_child_value(parameters, 1);
- if (v != nullptr)
- g_message("%s v is %s", G_STRLOC, g_variant_print(v, true));
gboolean is_active {};
if (g_variant_lookup(v, "IsActive", "b", &is_active))
{
- g_message("%s is_active changed to %d", G_STRLOC, int(is_active));
+ g_debug("%s is_active changed to %d", G_STRLOC, int(is_active));
self->m_is_active.set(is_active);
}
g_clear_pointer(&v, g_variant_unref);