aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/empetit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/empetit.c b/tests/empetit.c
index 43fddcbe2..76d0528d8 100644
--- a/tests/empetit.c
+++ b/tests/empetit.c
@@ -42,10 +42,6 @@ clicked_cb (GtkButton *button,
if (!contact)
return;
- /* This is required otherwise the dispatcher isn't ref'd, and so it
- * disappears by the time the callback gets called. It's deliberately not
- * freed otherwise it segfaults... sigh */
- empathy_dispatcher_dup_singleton ();
empathy_dispatcher_chat_with_contact (contact, chat_cb, NULL);
}