[gtk+] [test] Do not test deprecated GtkText
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] [test] Do not test deprecated GtkText
- Date: Fri, 7 May 2010 07:27:19 +0000 (UTC)
commit 3781b2447610601d778ef44489341712af58cf54
Author: Javier Jardón <jjardon gnome org>
Date: Fri May 7 09:26:36 2010 +0200
[test] Do not test deprecated GtkText
gtk/tests/testing.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/tests/testing.c b/gtk/tests/testing.c
index dcc2d02..6208ac6 100644
--- a/gtk/tests/testing.c
+++ b/gtk/tests/testing.c
@@ -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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]