This is an automated email from the git hooks/post-receive script.

git pushed a commit to reference refs/pull/49/head
in repository enlightenment.

View the commit online.

commit 5b042e08e23880e75c4f1257193c60caa67a0364
Author: rafspiny <rafsp...@gmail.com>
AuthorDate: Thu Aug 3 21:56:29 2023 +0200

    Forgot to update reference to renamed enum values
---
 src/modules/convertible/dbus_acceleration.c    | 2 +-
 src/modules/convertible/dbus_acceleration.h    | 2 +-
 src/modules/convertible/e-gadget-convertible.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/modules/convertible/dbus_acceleration.c b/src/modules/convertible/dbus_acceleration.c
index 62232aa62..98d671a62 100644
--- a/src/modules/convertible/dbus_acceleration.c
+++ b/src/modules/convertible/dbus_acceleration.c
@@ -23,7 +23,7 @@ sensor_proxy_init(void)
    EINA_SAFETY_ON_NULL_RETURN_VAL(accelerometer_dbus, NULL);
 
    // The next line is probably redundant
-   accelerometer_dbus->orientation = undefined;
+   accelerometer_dbus->orientation = UNDEFINED;
 
    INF("Getting dbus interfaces");
    accelerometer_dbus->sensor_proxy = get_dbus_interface(EFL_DBUS_ACC_IFACE);
diff --git a/src/modules/convertible/dbus_acceleration.h b/src/modules/convertible/dbus_acceleration.h
index 62c1d72b8..db2fe5a18 100644
--- a/src/modules/convertible/dbus_acceleration.h
+++ b/src/modules/convertible/dbus_acceleration.h
@@ -9,7 +9,7 @@
 #define EFL_DBUS_ACC_PATH "/net/hadess/SensorProxy"
 #define EFL_DBUS_ACC_IFACE "net.hadess.SensorProxy"
 
-// This enum represents the 4 states of screen rotation plus undefined
+// This enum represents the 4 states of screen rotation plus UNDEFINED
 enum screen_rotation {UNDEFINED, NORMAL, RIGHT_UP, FLIPPED, LEFT_UP};
 
 typedef struct _DbusAccelerometer DbusAccelerometer;
diff --git a/src/modules/convertible/e-gadget-convertible.c b/src/modules/convertible/e-gadget-convertible.c
index c2dcd03a4..03e5f4572 100644
--- a/src/modules/convertible/e-gadget-convertible.c
+++ b/src/modules/convertible/e-gadget-convertible.c
@@ -8,7 +8,7 @@
 /* LIST OF INSTANCES */
 static Eina_List *instances = NULL;
 
-void
+static void
 _update_instances(const Instance *current_instance)
 {
     Eina_List *l;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to