This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch prefer-libddcutil5
in repository enlightenment.
View the commit online.
commit fbfd52f679af59f7e4a403fddff5dfae0ee9c064
Author: rafspiny <rafsp...@gmail.com>
AuthorDate: Thu Aug 3 17:59:43 2023 +0200
Forgot to update reference to renamed enum values
---
src/modules/convertible/dbus_acceleration.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/modules/convertible/dbus_acceleration.c b/src/modules/convertible/dbus_acceleration.c
index 23318d324..62232aa62 100644
--- a/src/modules/convertible/dbus_acceleration.c
+++ b/src/modules/convertible/dbus_acceleration.c
@@ -264,12 +264,11 @@ on_accelerometer_orientation(void *data, const Eldbus_Message *msg, Eldbus_Pendi
else
{
Eina_List *l;
- const char *randr_id = NULL;
+ char *randr_id = NULL;
EINA_LIST_FOREACH(inst->randr2_ids, l, randr_id)
{
_fetch_and_rotate_screen(randr_id, orientation);
}
- free(randr_id);
}
}
@@ -278,10 +277,10 @@ _convertible_rotation_get(const enum screen_rotation orientation)
{
switch (orientation)
{
- case normal: return 0;
- case left_up: return 90;
- case flipped: return 180;
- case right_up: return 270;
+ case NORMAL: return 0;
+ case LEFT_UP: return 90;
+ case FLIPPED: return 180;
+ case RIGHT_UP: return 270;
default: return 0;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.