mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-14 00:17:35 +00:00
call: Remove unused calls_call_state_to_string()
We're now using cui_call_state_to_string(), so this is unused.
This commit is contained in:
parent
fa5969892e
commit
b9e49986f0
2 changed files with 0 additions and 23 deletions
|
@ -573,27 +573,6 @@ calls_call_get_silenced (CallsCall *self)
|
||||||
return priv->silenced;
|
return priv->silenced;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
calls_call_state_to_string (GString *string,
|
|
||||||
CallsCallState state)
|
|
||||||
{
|
|
||||||
GEnumClass *klass;
|
|
||||||
GEnumValue *value;
|
|
||||||
|
|
||||||
klass = g_type_class_ref (CALLS_TYPE_CALL_STATE);
|
|
||||||
|
|
||||||
value = g_enum_get_value (klass, (gint)state);
|
|
||||||
if (!value)
|
|
||||||
return g_string_printf (string,
|
|
||||||
"Unknown call state (%d)",
|
|
||||||
(gint)state);
|
|
||||||
|
|
||||||
g_string_assign (string, value->value_nick);
|
|
||||||
string->str[0] = g_ascii_toupper (string->str[0]);
|
|
||||||
|
|
||||||
g_type_class_unref (klass);
|
|
||||||
}
|
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
calls_call_state_parse_nick (CallsCallState *state,
|
calls_call_state_parse_nick (CallsCallState *state,
|
||||||
const char *nick)
|
const char *nick)
|
||||||
|
|
|
@ -78,8 +78,6 @@ CallsBestMatch *calls_call_get_contact (CallsCall *self);
|
||||||
void calls_call_silence_ring (CallsCall *self);
|
void calls_call_silence_ring (CallsCall *self);
|
||||||
gboolean calls_call_get_silenced (CallsCall *self);
|
gboolean calls_call_get_silenced (CallsCall *self);
|
||||||
|
|
||||||
void calls_call_state_to_string (GString *string,
|
|
||||||
CallsCallState state);
|
|
||||||
gboolean calls_call_state_parse_nick (CallsCallState *state,
|
gboolean calls_call_state_parse_nick (CallsCallState *state,
|
||||||
const char *nick);
|
const char *nick);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue