forked from enlightenment/enlightenment
Forgot to update reference to renamed enum values
This commit is contained in:
parent
fbfd52f679
commit
5b042e08e2
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
/* LIST OF INSTANCES */
|
||||
static Eina_List *instances = NULL;
|
||||
|
||||
void
|
||||
static void
|
||||
_update_instances(const Instance *current_instance)
|
||||
{
|
||||
Eina_List *l;
|
||||
|
|
Loading…
Reference in New Issue