forked from enlightenment/enlightenment
parent
71d0297574
commit
3cf0bf72fb
|
@ -541,7 +541,7 @@ arrangement_widget_free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Da
|
||||||
}
|
}
|
||||||
|
|
||||||
Eina_Bool
|
Eina_Bool
|
||||||
arrangement_widget_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
arrangement_widget_basic_apply_data(E_Config_Dialog *cfd __UNUSED__ , E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
E_Config_Randr_Dialog_Output_Dialog_Data *odd;
|
E_Config_Randr_Dialog_Output_Dialog_Data *odd;
|
||||||
Evas_Coord_Point pos = {.x = 0, .y = 0};
|
Evas_Coord_Point pos = {.x = 0, .y = 0};
|
||||||
|
|
|
@ -48,15 +48,15 @@ static const char *_POLICIES_STRINGS[] = {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Eina_Bool
|
Eina_Bool
|
||||||
policy_widget_create_data(E_Config_Dialog_Data *e_config_runtime_info)
|
policy_widget_create_data(E_Config_Dialog_Data *data)
|
||||||
{
|
{
|
||||||
E_Config_Randr_Dialog_Output_Dialog_Data *odd;
|
E_Config_Randr_Dialog_Output_Dialog_Data *odd;
|
||||||
E_Randr_Output_Info *oi = NULL;
|
E_Randr_Output_Info *oi = NULL;
|
||||||
Eina_List *iter;
|
Eina_List *iter;
|
||||||
|
|
||||||
if (!e_config_runtime_info || !e_config_runtime_info->output_dialog_data_list) return EINA_FALSE;
|
if (!data || !data->output_dialog_data_list) return EINA_FALSE;
|
||||||
|
|
||||||
EINA_LIST_FOREACH(e_config_runtime_info->output_dialog_data_list, iter, odd)
|
EINA_LIST_FOREACH(data->output_dialog_data_list, iter, odd)
|
||||||
{
|
{
|
||||||
if (odd->crtc)
|
if (odd->crtc)
|
||||||
oi = eina_list_data_get(odd->crtc->outputs);
|
oi = eina_list_data_get(odd->crtc->outputs);
|
||||||
|
|
Loading…
Reference in New Issue