fix building theme module with wayland-only

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-06-19 14:57:38 -04:00
parent 024caabef9
commit b38f37f0e6
2 changed files with 9 additions and 0 deletions

View File

@ -381,7 +381,10 @@ _basic_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
e_font_apply();
e_config_save_queue();
#ifndef HAVE_WAYLAND_ONLY
e_xsettings_config_update();
#endif
/* Apply to advanced */
EINA_LIST_FOREACH(cfdata->text_classes, next, tc)
@ -607,7 +610,11 @@ _advanced_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfda
e_config->font_hinting = cfdata->hinting;
e_config_save_queue();
e_canvas_rehint();
#ifndef HAVE_WAYLAND_ONLY
e_xsettings_config_update();
#endif
return 1;
}

View File

@ -168,7 +168,9 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
ecore_event_add(E_EVENT_CONFIG_ICON_THEME, ev, NULL, NULL);
}
#ifndef HAVE_WAYLAND_ONLY
e_xsettings_config_update();
#endif
return 1;
}