From 77c102ae6ea01a9056d5638eb55447faef5522a4 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 9 Jun 2011 06:21:11 +0200 Subject: [PATCH] testtreeview: Don't use deprecated classes to make things interesting --- tests/testtreeview.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/testtreeview.c b/tests/testtreeview.c index 312b4ec69f..60dc6891ef 100644 --- a/tests/testtreeview.c +++ b/tests/testtreeview.c @@ -632,8 +632,7 @@ create_tree_model (void) * registered and gcc doesn't optimize away the code */ g_type_class_unref (g_type_class_ref (gtk_scrolled_window_get_type ())); g_type_class_unref (g_type_class_ref (gtk_label_get_type ())); - g_type_class_unref (g_type_class_ref (gtk_hscrollbar_get_type ())); - g_type_class_unref (g_type_class_ref (gtk_vscrollbar_get_type ())); + g_type_class_unref (g_type_class_ref (gtk_scrollbar_get_type ())); g_type_class_unref (g_type_class_ref (pango_layout_get_type ())); t = get_model_types ();