fix GList operations on a GObject