diff options
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r-- | src/empathy-call-window.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 97bc583ce..114ec940a 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -2370,10 +2370,7 @@ empathy_call_window_dispose (GObject *object) g_source_remove (priv->timer_id); priv->timer_id = 0; - if (priv->contact != NULL) - { - priv->contact = NULL; - } + tp_clear_object (&priv->contact); G_OBJECT_CLASS (empathy_call_window_parent_class)->dispose (object); } |