Gets properties of an object.
In general, a copy is made of the property contents and the caller
is responsible for freeing the memory in the appropriate manner for
the type, for instance by calling g_free() or g_object_unref().
name of the first property to get
return location for the first property, followed optionally by more
name/return location pairs, followed by NULL