aboutsummaryrefslogtreecommitdiff
path: root/tests/test-indicator.cc
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-01-17 15:07:08 -0600
committerCharles Kerr <charles.kerr@canonical.com>2013-01-17 15:07:08 -0600
commit5535cc541da4b436c662bef27589f5b929ed982e (patch)
tree58ffa067227d0a1e6b58a6055a49f4aa3a11be5d /tests/test-indicator.cc
parent06c8a32dc8fdb3150bed5db3d8ee5919f070a810 (diff)
downloadayatana-indicator-power-5535cc541da4b436c662bef27589f5b929ed982e.tar.gz
ayatana-indicator-power-5535cc541da4b436c662bef27589f5b929ed982e.tar.bz2
ayatana-indicator-power-5535cc541da4b436c662bef27589f5b929ed982e.zip
remove g_type_init() calls and bump glib minimum to 2.35.4, where g_type_init() is deprecated
Diffstat (limited to 'tests/test-indicator.cc')
-rw-r--r--tests/test-indicator.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test-indicator.cc b/tests/test-indicator.cc
index 824a5ac..6fd9bf7 100644
--- a/tests/test-indicator.cc
+++ b/tests/test-indicator.cc
@@ -46,7 +46,6 @@ namespace
if (G_UNLIKELY(!initialized))
{
initialized = true;
- g_type_init();
g_log_set_handler ("Gtk", (GLogLevelFlags)(G_LOG_LEVEL_CRITICAL|G_LOG_LEVEL_WARNING), quiet_log_func, NULL);
g_log_set_handler ("GLib-GObject", (GLogLevelFlags)(G_LOG_LEVEL_CRITICAL|G_LOG_LEVEL_WARNING), quiet_log_func, NULL);
}