1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-06-30 15:49:31 +00:00

call: Add unknown state

This is the default fallback state and is useful f.e. in the oFono plugin
if the GDBOVoiceCall doesn't provide a state in its' properties.
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-12-10 08:02:08 +01:00
parent cead5ada88
commit 88cd7ce222
2 changed files with 3 additions and 2 deletions

View file

@ -200,7 +200,7 @@ calls_call_class_init (CallsCallClass *klass)
"State",
"The current state of the call",
CALLS_TYPE_CALL_STATE,
CALLS_CALL_STATE_ACTIVE,
CALLS_CALL_STATE_UNKNOWN,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
properties[PROP_PROTOCOL] =

View file

@ -37,7 +37,8 @@ G_DECLARE_DERIVABLE_TYPE (CallsCall, calls_call, CALLS, CALL, GObject)
typedef enum
{
CALLS_CALL_STATE_ACTIVE = 1,
CALLS_CALL_STATE_UNKNOWN = 0,
CALLS_CALL_STATE_ACTIVE,
CALLS_CALL_STATE_HELD,
CALLS_CALL_STATE_DIALING,
CALLS_CALL_STATE_ALERTING,