Always create new object when setting a sub-object
Do not use the object returned from obs_data_get_obj to set new settings. It could be the default object, which means you'd just end up modifying the default data, which won't get saved. Always create a new object when setting sub-object data. It doesn't particularly hurt anything.
Showing
想要评论请 注册 或 登录