From 77154f295f863b85e5c0f42c6dc3cc7b3fea3622 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 20 Feb 2013 18:52:23 -0600 Subject: [PATCH] filechooserbutton: In tests, sleep after opening the dialog This may ensure that the dialog is actually done initializing. We need to kill this sleeping business and really use signals, sigh... Signed-off-by: Federico Mena Quintero --- gtk/tests/filechooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/tests/filechooser.c b/gtk/tests/filechooser.c index 399e8e7cc..8aa599379 100644 --- a/gtk/tests/filechooser.c +++ b/gtk/tests/filechooser.c @@ -421,7 +421,7 @@ test_file_chooser_button (gconstpointer data) gtk_button_clicked (GTK_BUTTON (children->data)); g_list_free (children); - wait_for_idle (); + sleep_in_main_loop (); /* Give me the internal dialog, damnit */ fc_dialog = g_object_get_qdata (G_OBJECT (fc_button), delegate_get_quark ()); -- 2.43.2