mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 12:25:31 +00:00
mm-origin: Explicitly cast ussd state
This is better than the implicit conversion of the enum.
This commit is contained in:
parent
e5780677f6
commit
ab6f1a4c45
2 changed files with 2 additions and 1 deletions
|
@ -191,7 +191,7 @@ calls_mm_ussd_get_state (CallsUssd *ussd)
|
|||
if (!self->ussd)
|
||||
return CALLS_USSD_STATE_UNKNOWN;
|
||||
|
||||
return mm_modem_3gpp_ussd_get_state (self->ussd);
|
||||
return (CallsUssdState) mm_modem_3gpp_ussd_get_state (self->ussd);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -32,6 +32,7 @@ G_BEGIN_DECLS
|
|||
|
||||
G_DECLARE_INTERFACE (CallsUssd, calls_ussd, CALLS, USSD, GObject)
|
||||
|
||||
/* This is basically MMModem3gppUssdSessionState */
|
||||
typedef enum
|
||||
{
|
||||
CALLS_USSD_STATE_UNKNOWN,
|
||||
|
|
Loading…
Reference in a new issue