mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
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>
This commit is contained in:
parent
158d74d257
commit
77154f295f
@ -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 ());
|
||||
|
Loading…
Reference in New Issue
Block a user