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:
parent
40cb9edf43
commit
a7677798d1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue