diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-02-17 15:51:31 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-02-19 00:25:59 -0500 |
commit | 102c0ce6966122019484aa2c7fd4c5fa12bab6d5 (patch) | |
tree | 300cfbb9c792d5024c238561797c54870b69082b /testsuite/gtk | |
parent | 996a4246fb974571523a92c44d4382efb808109c (diff) | |
download | gtk+-102c0ce6966122019484aa2c7fd4c5fa12bab6d5.tar.gz |
focus test: Use a GtkText instead
Thats where the focus is nowadays.
Diffstat (limited to 'testsuite/gtk')
-rw-r--r-- | testsuite/gtk/focus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/gtk/focus.c b/testsuite/gtk/focus.c index 2884d137b3..0605c8eb53 100644 --- a/testsuite/gtk/focus.c +++ b/testsuite/gtk/focus.c @@ -12,10 +12,10 @@ test_window_focus (void) box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_container_add (GTK_CONTAINER (window), box); gtk_container_add (GTK_CONTAINER (box), gtk_label_new ("label1")); - entry1 = gtk_entry_new (); + entry1 = gtk_text_new (); gtk_container_add (GTK_CONTAINER (box), entry1); gtk_container_add (GTK_CONTAINER (box), gtk_label_new ("label2")); - entry2 = gtk_entry_new (); + entry2 = gtk_text_new (); gtk_container_add (GTK_CONTAINER (box), entry2); g_assert_null (gtk_window_get_focus (GTK_WINDOW (window))); |