]> Pileus Git - ~andy/gtk/commit
rbtree: Simplify rotation functions
authorBenjamin Otte <otte@redhat.com>
Tue, 22 Nov 2011 02:30:45 +0000 (03:30 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 22 Nov 2011 02:32:56 +0000 (03:32 +0100)
commitae99a9e04a5c6ac22d0d0229244c373bc5875cc1
tree8d1ca079092825a61e95a1162b21a0ff05f9cc4b
parent37786804e185534f35c289be695f0cb21d4a87b4
rbtree: Simplify rotation functions

- Make sure the rotated nodes aren't nil
- Use existing functions for complex computations
- Don't use NULL checks for variables guaranteed to not be NULL/nil
gtk/gtkrbtree.c