From cb8acd59ceb09475886efca049c9e2dee1cb32a8 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Tue, 3 Feb 2015 20:07:50 -0800 Subject: [PATCH] libobs: Export obs_properties_apply_settings I didn't think it would ever need to be exported, but this function is actually useful for applying settings to properties (to call all of their update callbacks based upon the settings) without necessarily having to have an object associated with it. --- libobs/obs-properties.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libobs/obs-properties.h b/libobs/obs-properties.h index f623cd2a4..c522a6073 100644 --- a/libobs/obs-properties.h +++ b/libobs/obs-properties.h @@ -101,8 +101,11 @@ EXPORT obs_property_t *obs_properties_first(obs_properties_t *props); EXPORT obs_property_t *obs_properties_get(obs_properties_t *props, const char *property); -/* used internally by libobs */ -extern void obs_properties_apply_settings(obs_properties_t *props, +/** + * Applies settings to the properties by calling all the necessary + * modification callbacks + */ +EXPORT void obs_properties_apply_settings(obs_properties_t *props, obs_data_t *settings); /* ------------------------------------------------------------------------- */