- enum_vals.push_back(make_pair(var, print_gvariant(var)));
- return shared_ptr<Property>(new Enum(name, enum_vals, getter, setter));
+ enum_vals.emplace_back(var, print_gvariant(var));
+ return shared_ptr<Property>(new Enum(name, desc, enum_vals, getter, setter));