Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
[test] Do not test deprecated GtkText
Browse files Browse the repository at this point in the history
  • Loading branch information
jjardon committed May 7, 2010
1 parent 291ead9 commit 3781b24
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gtk/tests/testing.c
Expand Up @@ -98,13 +98,12 @@ test_slider_ranges (void)
static void
test_text_access (void)
{
const int N_WIDGETS = 4;
const int N_WIDGETS = 3;
GtkWidget *widgets[N_WIDGETS];
int i = 0;
widgets[i++] = gtk_test_create_widget (GTK_TYPE_LABEL, NULL);
widgets[i++] = gtk_test_create_widget (GTK_TYPE_ENTRY, NULL);
widgets[i++] = gtk_test_create_widget (GTK_TYPE_TEXT_VIEW, NULL);
widgets[i++] = gtk_test_create_widget (g_type_from_name ("GtkText"), NULL);
g_assert (i == N_WIDGETS);
for (i = 0; i < N_WIDGETS; i++)
gtk_test_text_set (widgets[i], "foobar");
Expand Down

0 comments on commit 3781b24

Please sign in to comment.