apply asynchronous parameters changes to GUI

This commit is contained in:
Tomasz Moń
2009-05-03 22:17:41 +02:00
parent acb1c1e273
commit 06fd3eee66
3 changed files with 37 additions and 3 deletions

14
gui.c
View File

@@ -149,6 +149,20 @@ static void apply_widget_setting(WidgetListElem *el, SettingParam *param)
}
}
/**
* \param param SettingParam to apply to GUI
*
* Applies SettingParam to GUI
**/
void apply_setting_param_to_gui(SettingParam *param)
{
g_return_if_fail(param != NULL);
allow_send = FALSE;
g_list_foreach(widget_list, (GFunc)apply_widget_setting, param);
allow_send = TRUE;
}
/**
* \param preset preset to sync
*