1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-19 01:51:46 +00:00

call: Prefer using enum values

This commit is contained in:
Evangelos Ribeiro Tzaras 2022-06-23 00:59:02 +02:00
parent 4592194c11
commit 1d20998e9a

View file

@ -430,7 +430,7 @@ calls_call_get_state (CallsCall *self)
{ {
CallsCallPrivate *priv = calls_call_get_instance_private (self); CallsCallPrivate *priv = calls_call_get_instance_private (self);
g_return_val_if_fail (CALLS_IS_CALL (self), 0); g_return_val_if_fail (CALLS_IS_CALL (self), CALLS_CALL_STATE_UNKNOWN);
return priv->state; return priv->state;
} }