summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2013-12-10 20:15:21 +0100
committerSebastian Dransfeld <sd@tango.flipp.net>2013-12-10 20:15:21 +0100
commitd5853ddc2c6e4a3c2a4c2e51021f1e0c73c5f23d (patch)
tree14a82872103ebba9e5b29d3e5f83f4430785c953 /src
parentd985b01aa96c693214df2d52b76d3dcef2d9816b (diff)
e: Check for error reading lid status
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_acpi.c2
-rw-r--r--src/bin/e_desktop_editor.c2
-rw-r--r--src/bin/e_fm/e_fm_main_udisks2.c1
3 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/e_acpi.c b/src/bin/e_acpi.c
index 0e8f1a2a1..516295152 100644
--- a/src/bin/e_acpi.c
+++ b/src/bin/e_acpi.c
@@ -398,6 +398,8 @@ _e_acpi_lid_status_get(const char *device, const char *bus)
398 /* read the line from state file */ 398 /* read the line from state file */
399 ret = fgets(buff, sizeof(buff), f); 399 ret = fgets(buff, sizeof(buff), f);
400 fclose(f); 400 fclose(f);
401 if (!ret)
402 return E_ACPI_LID_UNKNOWN;
401 403
402 /* parse out state file */ 404 /* parse out state file */
403 i = 0; 405 i = 0;
diff --git a/src/bin/e_desktop_editor.c b/src/bin/e_desktop_editor.c
index ebd27749b..d0cb1fb88 100644
--- a/src/bin/e_desktop_editor.c
+++ b/src/bin/e_desktop_editor.c
@@ -1,5 +1,7 @@
1#include "e.h" 1#include "e.h"
2 2
3/* TODO: Check cache update */
4
3struct _E_Config_Dialog_Data 5struct _E_Config_Dialog_Data
4{ 6{
5 Efreet_Desktop *desktop; 7 Efreet_Desktop *desktop;
diff --git a/src/bin/e_fm/e_fm_main_udisks2.c b/src/bin/e_fm/e_fm_main_udisks2.c
index be5dca743..a79437f17 100644
--- a/src/bin/e_fm/e_fm_main_udisks2.c
+++ b/src/bin/e_fm/e_fm_main_udisks2.c
@@ -560,6 +560,7 @@ _e_fm_main_udisks2_cb_dev_del(void *data __UNUSED__, const Eldbus_Message *msg)
560 } 560 }
561 if (vol) 561 if (vol)
562 { 562 {
563 /* TODO: Fix here: T432, T398, T380 */
563 v = _volume_find_by_dbus_path(path); 564 v = _volume_find_by_dbus_path(path);
564 if (v && (!v->mounted)) 565 if (v && (!v->mounted))
565 { 566 {