// g_base_info_get_attribute func (bi *BaseInfo) Attribute(name string) string { gname := _GoStringToGString(name) ret := _GStringToGoString(C.g_base_info_get_attribute(bi.c, gname)) C.free_gstring(gname) return ret }
func (info *GiInfo) GetAttribute(attr string) string { _attr := GlibString(attr) defer C.g_free((C.gpointer)(_attr)) return GoString(C.g_base_info_get_attribute(info.ptr, _attr)) }