diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-09-11 14:24:31 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-09-11 14:24:31 -0500 |
commit | 2e3d004df20a3485e37ee4e8916739528f646d9f (patch) | |
tree | eec604e10a74d388a52bb435a59ba1a0e1a5834e | |
parent | 25cc0e4016957746818f97074ee52b068a4f765a (diff) | |
download | ayatana-indicator-power-2e3d004df20a3485e37ee4e8916739528f646d9f.tar.gz ayatana-indicator-power-2e3d004df20a3485e37ee4e8916739528f646d9f.tar.bz2 ayatana-indicator-power-2e3d004df20a3485e37ee4e8916739528f646d9f.zip |
remove the new code's g_message() tracers or replace with g_debug()
-rw-r--r-- | src/brightness.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/brightness.c b/src/brightness.c index e43189a..9288d50 100644 --- a/src/brightness.c +++ b/src/brightness.c @@ -223,7 +223,7 @@ on_powerd_brightness_params_ready(GObject * source, { /* user's first session, so init the schema's default brightness from powerd's hardware-specific params */ - g_message("%s is true, so setting brightness to powerd default '%d'", KEY_NEED_DEFAULT, p->powerd_default_value); + g_debug("%s is true, so initializing brightness to powerd default '%d'", KEY_NEED_DEFAULT, p->powerd_default_value); set_brightness_global(self, p->powerd_default_value); g_settings_set_boolean(p->settings, KEY_NEED_DEFAULT, FALSE); } @@ -341,7 +341,6 @@ set_brightness_local(IndicatorPowerBrightness * self, int brightness) { priv_t * p = get_priv(self); p->percentage = brightness_to_percentage(self, brightness); - g_message("%s setting brightness property percentage to %.2f", G_STRFUNC, p->percentage); g_object_notify_by_pspec(G_OBJECT(self), properties[PROP_PERCENTAGE]); } @@ -350,7 +349,6 @@ on_brightness_changed_in_schema(GSettings * settings, gchar * key, gpointer gself) { - g_message("%s schema changed; updating our local property", G_STRFUNC); set_brightness_local(INDICATOR_POWER_BRIGHTNESS(gself), g_settings_get_int(settings, key)); } @@ -360,8 +358,6 @@ set_brightness_global(IndicatorPowerBrightness * self, int brightness) { priv_t * p = get_priv(self); - g_message("%s setting uscreen and local to %d", G_STRFUNC, brightness); - set_uscreen_user_brightness(self, brightness); if (p->settings != NULL) |