mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-13 16:07:36 +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:
parent
cead5ada88
commit
88cd7ce222
2 changed files with 3 additions and 2 deletions
|
@ -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] =
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue