aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-04-20 16:36:10 -0500
committerCharles Kerr <charles.kerr@canonical.com>2016-04-20 16:36:10 -0500
commite683501043c00810558db55461b49c66ecf1aa0b (patch)
tree34e863fe1099cce61e697364093d8f4488053574 /src
parent19506296905cddb9a286921a0d56ab22c404aa12 (diff)
downloadayatana-indicator-display-e683501043c00810558db55461b49c66ecf1aa0b.tar.gz
ayatana-indicator-display-e683501043c00810558db55461b49c66ecf1aa0b.tar.bz2
ayatana-indicator-display-e683501043c00810558db55461b49c66ecf1aa0b.zip
more tracers
Diffstat (limited to 'src')
-rw-r--r--src/greeter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/greeter.cpp b/src/greeter.cpp
index a064ec2..d2e34a0 100644
--- a/src/greeter.cpp
+++ b/src/greeter.cpp
@@ -29,6 +29,7 @@ public:
Impl():
m_cancellable{g_cancellable_new()}
{
+ g_message("%s getting bus", G_STRLOC);
g_bus_get(G_BUS_TYPE_SESSION, m_cancellable, on_bus_ready_static, this);
}
@@ -52,6 +53,7 @@ private:
static void on_bus_ready_static(GObject* /*source*/, GAsyncResult* res, gpointer gself)
{
+ g_message("%s %s", G_STRLOC, G_STRFUNC);
GError* error {};
auto bus = g_bus_get_finish (res, &error);
if (error != nullptr) {
@@ -122,6 +124,8 @@ private:
GVariant* parameters,
gpointer gself)
{
+ g_message("%s", G_STRLOC);
+
g_return_if_fail(!g_strcmp0(object_path, DBusNames::UnityGreeter::PATH));
g_return_if_fail(!g_strcmp0(interface_name, DBusNames::Properties::INTERFACE));
g_return_if_fail(!g_strcmp0(signal_name, DBusNames::Properties::PropertiesChanged::NAME));