1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2025-01-07 04:15:32 +00:00

dbus-manager: Fix critical when transforming call states

Fixes c796df9260
This commit is contained in:
Evangelos Ribeiro Tzaras 2022-01-26 08:27:31 +01:00
parent 40cb9edf43
commit a7677798d1

View file

@ -204,7 +204,7 @@ from_call_to_cui_state (GBinding *binding,
GValue *to_value,
gpointer unused)
{
CallsCallState call_state = (CallsCallState) g_value_get_uint (from_value);
CallsCallState call_state = g_value_get_enum (from_value);
CuiCallState cui_state = calls_call_state_to_cui_call_state (call_state);
g_value_set_uint (to_value, cui_state);