Forgot to update reference to renamed enum values

This commit is contained in:
rafspiny 2023-08-03 21:56:29 +02:00 committed by Carsten Haitzler
parent fbfd52f679
commit 5b042e08e2
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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;

View File

@ -8,7 +8,7 @@
/* LIST OF INSTANCES */
static Eina_List *instances = NULL;
void
static void
_update_instances(const Instance *current_instance)
{
Eina_List *l;