diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-04-16 08:50:35 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-04-16 08:50:35 +0200 |
commit | c57e5811f1dabcb6f46082ee97a12e18f1c8f033 (patch) | |
tree | ef3db20f4a5711cdc1dcd2a2fb2aa8ec250880dd /testsuite | |
parent | 940a2b6923fa0c2ee46f1de8387dea332b5bbba9 (diff) | |
download | gtk+-c57e5811f1dabcb6f46082ee97a12e18f1c8f033.tar.gz |
tests: Check is-focus instead of has-focus
We are not presenting windows here.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/gtk/builder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/gtk/builder.c b/testsuite/gtk/builder.c index 090d89378d..7ffb8455a8 100644 --- a/testsuite/gtk/builder.c +++ b/testsuite/gtk/builder.c @@ -1641,7 +1641,7 @@ test_widget (void) builder = builder_new_from_string (buffer, -1, NULL); button1 = gtk_builder_get_object (builder, "button1"); - g_assert_true (gtk_widget_has_focus (GTK_WIDGET (button1))); + g_assert_true (gtk_widget_is_focus (GTK_WIDGET (button1))); window1 = gtk_builder_get_object (builder, "window1"); gtk_window_destroy (GTK_WINDOW (window1)); |