(g-type-next-base leaf-type root-type) => base-type
Returns the next type that should be traversed from root-type
in order to reach leaf-type
. E.g., given type hierarchy:
+ GObject \ + GInitiallyUnowned \ + GtkObject |\ | + GtkAdjustment \ + GtkWidget \ + GtkContainer \ + GtkTable
the following will be returned:
(g-type-next-base "GtkTable" "GObject") => "GInitiallyUnowned" (g-type-next-base "GtkTable" "GInitiallyUnowned") => "GtkObject" (g-type-next-base "GtkTable" "GtkObject") => "GtkWidget" (g-type-next-base "GtkTable" "GtkWidget") => "GtkContainer" (g-type-next-base "GtkTable" "GtkContainer") => "GtkTable"