[gnome-settings-daemon] power: Don't print a message when no backlights are detected
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] power: Don't print a message when no backlights are detected
- Date: Sun, 18 Mar 2012 20:17:22 +0000 (UTC)
commit 28a099a6a3da336478b406e2f45b80ad206c379f
Author: Richard Hughes <richard hughsie com>
Date: Fri Mar 16 10:35:59 2012 +0000
power: Don't print a message when no backlights are detected
The backlight helper isn't designed to be run by end users, and by echoing
failure to standard out, it gets put in .xsession-errors.
We don't need the text for anything, so just simply remove it.
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=661079
plugins/power/gsd-backlight-helper.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/gsd-backlight-helper.c b/plugins/power/gsd-backlight-helper.c
index ed7871c..6d4dd01 100644
--- a/plugins/power/gsd-backlight-helper.c
+++ b/plugins/power/gsd-backlight-helper.c
@@ -170,7 +170,6 @@ main (int argc, char *argv[])
/* find device */
filename = gsd_backlight_helper_get_best_backlight ();
if (filename == NULL) {
- g_print ("%s\n", "No backlights were found on your system");
retval = GSD_BACKLIGHT_HELPER_EXIT_CODE_INVALID_USER;
goto out;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]