aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-03-15 15:41:55 -0500
committerCharles Kerr <charles.kerr@canonical.com>2016-03-15 15:41:55 -0500
commitdf322a475939f3d30e4ff20213df1c01f7ff26d5 (patch)
treeddc88c7c5b09870070c31db7bcbb86eff5bac2c9 /src/main.cpp
parent4aeb345821bad91430fe9cdb7244c1135051bd92 (diff)
downloadayatana-indicator-display-df322a475939f3d30e4ff20213df1c01f7ff26d5.tar.gz
ayatana-indicator-display-df322a475939f3d30e4ff20213df1c01f7ff26d5.tar.bz2
ayatana-indicator-display-df322a475939f3d30e4ff20213df1c01f7ff26d5.zip
add some debug stubs
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index eb1bb2c..2e84afa 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -29,6 +29,9 @@
int
main(int /*argc*/, char** /*argv*/)
{
+#warning temp
+g_assert(g_setenv("G_MESSAGES_DEBUG", "all", true));
+
// Work around a deadlock in glib's type initialization.
// It can be removed when https://bugzilla.gnome.org/show_bug.cgi?id=674885 is fixed.
g_type_ensure(G_TYPE_DBUS_CONNECTION);