davemds pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/places.git/commit/?id=468cc4243e578b24068f2b7a9bb3f1d558937b2b

commit 468cc4243e578b24068f2b7a9bb3f1d558937b2b
Author: Dave Andreoli <[email protected]>
Date:   Sun Jun 2 19:01:41 2019 +0200

    Unbork places module after unknown efl changes
---
 configure.ac              | 12 ++++++------
 src/e_mod_eeze.c          |  2 +-
 src/e_mod_mount.c         |  2 +-
 src/e_mod_places.c        | 18 +++++++++---------
 src/e_mod_udisks_eldbus.c | 12 ++++++------
 5 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/configure.ac b/configure.ac
index 06f9d03..8025481 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,14 +92,14 @@ if test "x$want_eeze" != "xyes";then
 fi
 
 
-AM_CONDITIONAL([HAVE_ELDBUS], [test "x$have_eldbus" = "xyes"])
-test "x$have_eldbus" = "xyes" && AC_DEFINE_UNQUOTED([HAVE_ELDBUS], [1], 
[enable eldbus support])
+AM_CONDITIONAL([PLACES_HAVE_ELDBUS], [test "x$have_eldbus" = "xyes"])
+test "x$have_eldbus" = "xyes" && AC_DEFINE_UNQUOTED([PLACES_HAVE_ELDBUS], [1], 
[enable eldbus support])
 
-AM_CONDITIONAL([HAVE_EEZE], [test "x$have_eeze" = "xyes"])
-test "x$have_eeze" = "xyes" && AC_DEFINE_UNQUOTED([HAVE_EEZE], [1], [enable 
eeze support])
+AM_CONDITIONAL([PLACES_HAVE_EEZE], [test "x$have_eeze" = "xyes"])
+test "x$have_eeze" = "xyes" && AC_DEFINE_UNQUOTED([PLACES_HAVE_EEZE], [1], 
[enable eeze support])
 
-AM_CONDITIONAL([HAVE_MOUNT], [test "x$have_mount" = "xyes"])
-test "x$have_mount" = "xyes" && AC_DEFINE_UNQUOTED([HAVE_MOUNT], [1], [enable 
mount support])
+AM_CONDITIONAL([PLACES_HAVE_MOUNT], [test "x$have_mount" = "xyes"])
+test "x$have_mount" = "xyes" && AC_DEFINE_UNQUOTED([PLACES_HAVE_MOUNT], [1], 
[enable mount support])
 
 
 # homedir install
diff --git a/src/e_mod_eeze.c b/src/e_mod_eeze.c
index f253a27..2b5c9c6 100644
--- a/src/e_mod_eeze.c
+++ b/src/e_mod_eeze.c
@@ -3,7 +3,7 @@
 # include "config.h"
 #endif
 
-#ifdef HAVE_EEZE
+#ifdef PLACES_HAVE_EEZE
 
 #include <e.h>
 #include "e_mod_places.h"
diff --git a/src/e_mod_mount.c b/src/e_mod_mount.c
index 178ed5f..54de89c 100644
--- a/src/e_mod_mount.c
+++ b/src/e_mod_mount.c
@@ -2,7 +2,7 @@
 # include "config.h"
 #endif
 
-#ifdef HAVE_MOUNT
+#ifdef PLACES_HAVE_MOUNT
 
 #include <e.h>
 #include "e_mod_main.h"
diff --git a/src/e_mod_places.c b/src/e_mod_places.c
index ce60a78..9f4e010 100644
--- a/src/e_mod_places.c
+++ b/src/e_mod_places.c
@@ -5,13 +5,13 @@
 #include <sys/statvfs.h>
 #include "e_mod_main.h"
 #include "e_mod_places.h"
-#ifdef HAVE_EEZE
+#ifdef PLACES_HAVE_EEZE
 # include "e_mod_eeze.h"
 #endif
-#ifdef HAVE_ELDBUS
+#ifdef PLACES_HAVE_ELDBUS
 # include "e_mod_udisks_eldbus.h"
 #endif
-#ifdef HAVE_MOUNT
+#ifdef PLACES_HAVE_MOUNT
 # include "e_mod_mount.h"
 #endif
 
@@ -42,13 +42,13 @@ places_init(void)
 
    printf("PLACES: Init\n");
 
-#ifdef HAVE_EEZE
+#ifdef PLACES_HAVE_EEZE
    places_eeze_init();
 #endif
-#ifdef HAVE_ELDBUS
+#ifdef PLACES_HAVE_ELDBUS
    places_udisks_eldbus_init();
 #endif
-#ifdef HAVE_MOUNT
+#ifdef PLACES_HAVE_MOUNT
    places_mount_init();
 #endif
 
@@ -65,13 +65,13 @@ places_shutdown(void)
    while (volumes)
      places_volume_del((Volume*)volumes->data);
 
-#ifdef HAVE_EEZE
+#ifdef PLACES_HAVE_EEZE
    places_eeze_shutdown();
 #endif
-#ifdef HAVE_ELDBUS
+#ifdef PLACES_HAVE_ELDBUS
    places_udisks_eldbus_shutdown();
 #endif
-#ifdef HAVE_MOUNT
+#ifdef PLACES_HAVE_MOUNT
    places_mount_shutdown();
 #endif
 }
diff --git a/src/e_mod_udisks_eldbus.c b/src/e_mod_udisks_eldbus.c
index e448361..a6b923b 100644
--- a/src/e_mod_udisks_eldbus.c
+++ b/src/e_mod_udisks_eldbus.c
@@ -3,7 +3,7 @@
 # include "config.h"
 #endif
 
-#ifdef HAVE_ELDBUS
+#ifdef PLACES_HAVE_ELDBUS
 
 #include <e.h>
 #include <Eldbus.h>
@@ -211,7 +211,7 @@ _places_udisks_vol_props_cb(void *data, const 
Eldbus_Message *msg, Eldbus_Pendin
    {
       Eldbus_Message_Iter *var;
       const char *key;
-      Eina_Bool bool;
+      Eina_Bool bool_ret;
 
       if (!eldbus_message_iter_arguments_get(dict, "sv", &key, &var))
          continue;
@@ -219,14 +219,14 @@ _places_udisks_vol_props_cb(void *data, const 
Eldbus_Message *msg, Eldbus_Pendin
       // skip volumes with volume.ignore set
       if (!strcmp(key, "DeviceIsMediaChangeDetectionInhibited"))
       {
-         eldbus_message_iter_arguments_get(var, "b", &bool);
-         if (bool) return;
+         eldbus_message_iter_arguments_get(var, "b", &bool_ret);
+         if (bool_ret) return;
       }
       // skip volumes with presentation.hide set
       if (!strcmp(key, "DevicePresentationHide"))
       {
-         eldbus_message_iter_arguments_get(var, "b", &bool);
-         if (bool) return;
+         eldbus_message_iter_arguments_get(var, "b", &bool_ret);
+         if (bool_ret) return;
       }
       else if (!strcmp(key, "IdUsage"))
          eldbus_message_iter_arguments_get(var, "s", &id_usage);

-- 


Reply via email to