Cast GType to long and use %ld to fix warning. (#71318, Morten Welinder)

Wed Feb 13 11:27:31 2002  Owen Taylor  <otaylor@redhat.com>

	* tests/testtreeview.c (typesystem_recurse): Cast GType
        to long	and use	%ld to	fix warning. (#71318, Morten Welinder)
This commit is contained in:
Owen Taylor
2002-02-13 16:40:31 +00:00
committed by Owen Taylor
parent f42cc7f7fb
commit 294e8eb7bb
8 changed files with 36 additions and 1 deletions

View File

@ -511,7 +511,7 @@ typesystem_recurse (GType type,
gtk_tree_store_append (store, &iter, parent_iter);
str = g_strdup_printf ("%d", type);
str = g_strdup_printf ("%ld", (glong)type);
gtk_tree_store_set (store, &iter, 0, str, 1, g_type_name (type),
2, our_pixbuf,
3, 7.0, 4, (guint) 9000,