Add a test of GType arrays, a la gtk_list_store_set_columns.
authorJohan Dahlin <jdahlin@async.com.br>
Thu, 13 Nov 2008 09:37:49 +0000 (09:37 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Thu, 13 Nov 2008 09:37:49 +0000 (09:37 +0000)
2008-11-12  Johan Dahlin  <jdahlin@async.com.br>

    * tests/everything/gitesttypes.c (test_gtype_in):
    * tests/everything/gitesttypes.h:
    Add a test of GType arrays, a la gtk_list_store_set_columns.

svn path=/trunk/; revision=907

ChangeLog
tests/everything/gitesttypes.c
tests/everything/gitesttypes.h

index a136487..fd40a9e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-12  Johan Dahlin  <jdahlin@async.com.br>
+
+       * tests/everything/gitesttypes.c (test_gtype_in):
+       * tests/everything/gitesttypes.h:
+       Add a test of GType arrays, a la gtk_list_store_set_columns.
+
 2008-11-12  Owen Taylor  <otaylor@redhat.com>
 
        Bug 560419 – Cache includes when parsing
index 39d9d0c..9430e3b 100644 (file)
@@ -172,6 +172,17 @@ test_strv_in (char **arr)
   return TRUE;
 }
 
+/**
+ * test_gtype_in:
+ * @n_types: 
+ * @types: (array length=n_types): List of types
+ */
+int
+test_gtype_in (int n_types, GType **types)
+{
+  return n_types;
+}
+
 char **
 test_strv_out (void)
 {
index be57506..fc44aa2 100644 (file)
@@ -36,6 +36,7 @@ GSList *test_filename_return (void);
 /* non-basic-types */
 /* array */
 gboolean test_strv_in (char **arr);
+int test_gtype_in (int n_types, GType **types);
 char **test_strv_out (void);
 /* interface */
 /* GList */