aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-08-09 05:46:55 +0800
committerWill Thompson <will.thompson@collabora.co.uk>2011-08-09 05:47:19 +0800
commit6ac9f42fa93a79064c4b69828cc8354114f1b2f0 (patch)
tree132ce21b2ef422becb026a1e8deb83af3ee7c4ab /tests
parent0f7e44ae1ea5a497083dc0982626b7f2cea7d36a (diff)
downloadgsoc2013-empathy-6ac9f42fa93a79064c4b69828cc8354114f1b2f0.tar
gsoc2013-empathy-6ac9f42fa93a79064c4b69828cc8354114f1b2f0.tar.gz
gsoc2013-empathy-6ac9f42fa93a79064c4b69828cc8354114f1b2f0.tar.bz2
gsoc2013-empathy-6ac9f42fa93a79064c4b69828cc8354114f1b2f0.tar.lz
gsoc2013-empathy-6ac9f42fa93a79064c4b69828cc8354114f1b2f0.tar.xz
gsoc2013-empathy-6ac9f42fa93a79064c4b69828cc8354114f1b2f0.tar.zst
gsoc2013-empathy-6ac9f42fa93a79064c4b69828cc8354114f1b2f0.zip
tests: simplify running blocking dialog
This is reminiscent of 8f42bd4.
Diffstat (limited to 'tests')
-rw-r--r--tests/interactive/test-empathy-contact-blocking-dialog.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/interactive/test-empathy-contact-blocking-dialog.c b/tests/interactive/test-empathy-contact-blocking-dialog.c
index 6c5615ec3..801bd0b50 100644
--- a/tests/interactive/test-empathy-contact-blocking-dialog.c
+++ b/tests/interactive/test-empathy-contact-blocking-dialog.c
@@ -41,15 +41,8 @@ main (int argc,
manager = empathy_contact_manager_dup_singleton ();
dialog = empathy_contact_blocking_dialog_new (NULL);
- g_signal_connect_swapped (dialog, "response",
- G_CALLBACK (gtk_main_quit), NULL);
+ gtk_dialog_run (GTK_DIALOG (dialog));
- gtk_widget_show (dialog);
-
- gtk_main ();
-
- gtk_widget_destroy (dialog);
g_object_unref (manager);
-
return 0;
}