testtreeview: Don't use deprecated classes to make things interesting

This commit is contained in:
Benjamin Otte 2011-06-09 06:21:11 +02:00
parent 6114b06b3b
commit 77c102ae6e

View File

@ -632,8 +632,7 @@ create_tree_model (void)
* registered and gcc doesn't optimize away the code */ * 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_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_label_get_type ()));
g_type_class_unref (g_type_class_ref (gtk_hscrollbar_get_type ())); g_type_class_unref (g_type_class_ref (gtk_scrollbar_get_type ()));
g_type_class_unref (g_type_class_ref (gtk_vscrollbar_get_type ()));
g_type_class_unref (g_type_class_ref (pango_layout_get_type ())); g_type_class_unref (g_type_class_ref (pango_layout_get_type ()));
t = get_model_types (); t = get_model_types ();