[gtk+] filechooserbutton: In tests, sleep after opening the dialog
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] filechooserbutton: In tests, sleep after opening the dialog
- Date: Thu, 21 Feb 2013 02:19:00 +0000 (UTC)
commit 77154f295f863b85e5c0f42c6dc3cc7b3fea3622
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Feb 20 18:52:23 2013 -0600
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 <federico gnome org>
gtk/tests/filechooser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/tests/filechooser.c b/gtk/tests/filechooser.c
index 399e8e7..8aa5993 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 ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]