diff options
author | Ted Gould <ted@gould.cx> | 2013-10-29 09:25:02 -0700 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2013-10-29 09:25:02 -0700 |
commit | fb134415e1e0042a00db4008e91adccd7d8eeff2 (patch) | |
tree | 7167a1e3e4fe537daf4f0062a25875806237189e /src/ib-brightness-control.c | |
parent | 812ac9a18c469c7a4ad60cd7bb1921eb622d7df9 (diff) | |
parent | 1a9e81a4071d1bd137ca8135a993ad65a91e8ee9 (diff) | |
download | ayatana-indicator-power-fb134415e1e0042a00db4008e91adccd7d8eeff2.tar.gz ayatana-indicator-power-fb134415e1e0042a00db4008e91adccd7d8eeff2.tar.bz2 ayatana-indicator-power-fb134415e1e0042a00db4008e91adccd7d8eeff2.zip |
Updating to trunk
Diffstat (limited to 'src/ib-brightness-control.c')
-rw-r--r-- | src/ib-brightness-control.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ib-brightness-control.c b/src/ib-brightness-control.c index 2b9b79d..4fb6bc5 100644 --- a/src/ib-brightness-control.c +++ b/src/ib-brightness-control.c @@ -52,7 +52,7 @@ ib_brightness_control_new (void) (g_strcmp0 (device_type, "platform") == 0) || (g_strcmp0 (device_type, "raw") == 0)) { path = g_strdup (g_udev_device_get_sysfs_path (device->data)); - g_print ("found: %s\n", path); + g_debug ("found: %s", path); break; } } @@ -126,6 +126,7 @@ ib_brightness_control_get_value_from_file (IbBrightnessControl *self, const gcha g_error_free (error); } else { value = atoi (svalue); + g_free (svalue); } g_free (filename); |