Add snippet for GList iteration