Benjamin Otte
1037398041
gtk/tests: Fix for -Wmissing-declarations
...
I'm adding a bunch of fixes for gcc complaining about
-Wmissing-declarations after finding a bunch of cases today where I
had forgotten to make functions static in the CSS code.
This patch fixes the tests in gtk/tests.
After this last patch, the gtk/ subdir should now compile without
warnings when this flag is enabled.
2012-10-02 19:32:53 +02:00
Javier Jardón
9d0febc9a6
Change FSF Address
2012-02-27 17:06:11 +00:00
Benjamin Otte
3166457802
tests: Add test for _gtk_rbtree_reorder()
2011-11-22 23:29:04 +01:00
Benjamin Otte
c1124df1f2
tests: Speed up rbtree test
...
We don't need so many tree consistency checks while creating when the
test is about something else.
2011-11-22 23:29:04 +01:00
Benjamin Otte
d8b6414567
rbtree: Remove needless tests
...
if the checks are run on the nil node, they will get the second test the
way we expect it anyway, so it's unnecessary.
2011-11-22 03:42:31 +01:00
Benjamin Otte
37786804e1
rbtree: Remove the nil member
2011-11-22 03:32:56 +01:00
Benjamin Otte
a4630d0e7b
rbtree: Introduce _gtk_rbtree_is_nil()
...
Makes for more readable code than "== tree->nil" and allows removing the
nil member later.
2011-11-22 03:32:56 +01:00
Benjamin Otte
e2f2289d72
tests: Add a test for the rbtree code.
2011-11-21 22:33:46 +01:00