1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-14 00:17:35 +00:00

ui-call-data: Remove get_call() function

No need to expose the internal CallsCall object as all properties relevant for
the UI are proxied out anyway.
This commit is contained in:
Evangelos Ribeiro Tzaras 2022-01-31 17:03:54 +01:00
parent 5bca8eabfe
commit bb8f662a01
2 changed files with 0 additions and 10 deletions

View file

@ -536,15 +536,6 @@ calls_ui_call_data_new (CallsCall *call)
return g_object_new (CALLS_TYPE_UI_CALL_DATA, "call", call, NULL);
}
CallsCall *
calls_ui_call_data_get_call (CallsUiCallData *self)
{
g_return_val_if_fail (CALLS_IS_UI_CALL_DATA (self), NULL);
return self->call;
}
/**
* calls_ui_call_data_silence_ring:
* @self: a #CallsUiCallData

View file

@ -36,7 +36,6 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (CallsUiCallData, calls_ui_call_data, CALLS, UI_CALL_DATA, GObject)
CallsUiCallData *calls_ui_call_data_new (CallsCall *call);
CallsCall *calls_ui_call_data_get_call (CallsUiCallData *self);
void calls_ui_call_data_silence_ring (CallsUiCallData *self);
gboolean calls_ui_call_data_get_silenced (CallsUiCallData *self);
CuiCallState calls_call_state_to_cui_call_state (CallsCallState state);