API: Add gtk_test_widget_wait_for_draw ()

See docs and following commits for what it's supposed to do. Let's hope
it fixes the flakiness in tests.
This commit is contained in:
Benjamin Otte
2013-05-17 01:35:04 +02:00
parent 51e238653d
commit 8616dbbad3
2 changed files with 41 additions and 0 deletions

View File

@ -61,6 +61,8 @@ GDK_AVAILABLE_IN_ALL
gboolean gtk_test_spin_button_click (GtkSpinButton *spinner,
guint button,
gboolean upwards);
GDK_AVAILABLE_IN_3_10
void gtk_test_widget_wait_for_draw (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
gboolean gtk_test_widget_click (GtkWidget *widget,
guint button,