call: Allow setting NULL id
A NULL id will be reported for anonymous callers.
This commit is contained in:
@@ -344,7 +344,6 @@ calls_call_set_id (CallsCall *self,
|
|||||||
CallsCallPrivate *priv = calls_call_get_instance_private (self);
|
CallsCallPrivate *priv = calls_call_get_instance_private (self);
|
||||||
|
|
||||||
g_return_if_fail (CALLS_IS_CALL (self));
|
g_return_if_fail (CALLS_IS_CALL (self));
|
||||||
g_return_if_fail (id);
|
|
||||||
|
|
||||||
if (g_strcmp0 (id, priv->id) == 0)
|
if (g_strcmp0 (id, priv->id) == 0)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user