forked from enlightenment/enlightenment
parent
bbf8234ed1
commit
24c062baa0
|
@ -57,7 +57,7 @@ e_font_apply(void)
|
||||||
edje_fontset_append_set(buf);
|
edje_fontset_append_set(buf);
|
||||||
|
|
||||||
/* setup edje text classes */
|
/* setup edje text classes */
|
||||||
for(next = e_config->font_defaults; next; next = evas_list_next(next))
|
for (next = e_config->font_defaults; next; next = next->next)
|
||||||
{
|
{
|
||||||
efd = evas_list_data(next);
|
efd = evas_list_data(next);
|
||||||
edje_text_class_set(efd->text_class, efd->font, efd->size);
|
edje_text_class_set(efd->text_class, efd->font, efd->size);
|
||||||
|
@ -135,7 +135,7 @@ e_font_fallback_remove(const char *font)
|
||||||
{
|
{
|
||||||
Evas_List *next;
|
Evas_List *next;
|
||||||
|
|
||||||
for(next = e_config->font_fallbacks; next; next = evas_list_next(next))
|
for (next = e_config->font_fallbacks; next; next = next->next)
|
||||||
{
|
{
|
||||||
E_Font_Fallback *eff;
|
E_Font_Fallback *eff;
|
||||||
|
|
||||||
|
@ -164,7 +164,7 @@ e_font_default_set(const char *text_class, const char *font, int size)
|
||||||
Evas_List *next;
|
Evas_List *next;
|
||||||
|
|
||||||
/* search for the text class */
|
/* search for the text class */
|
||||||
for(next = e_config->font_defaults; next; next = evas_list_next(next))
|
for (next = e_config->font_defaults; next; next = next->next)
|
||||||
{
|
{
|
||||||
efd = evas_list_data(next);
|
efd = evas_list_data(next);
|
||||||
if (!strcmp(efd->text_class, text_class))
|
if (!strcmp(efd->text_class, text_class))
|
||||||
|
@ -200,7 +200,7 @@ e_font_default_get(const char *text_class)
|
||||||
Evas_List *next;
|
Evas_List *next;
|
||||||
|
|
||||||
/* search for the text class */
|
/* search for the text class */
|
||||||
for(next = e_config->font_defaults; next; next = evas_list_next(next))
|
for (next = e_config->font_defaults; next; next = next->next)
|
||||||
{
|
{
|
||||||
efd = evas_list_data(next);
|
efd = evas_list_data(next);
|
||||||
if (!strcmp(efd->text_class, text_class))
|
if (!strcmp(efd->text_class, text_class))
|
||||||
|
@ -223,7 +223,7 @@ e_font_default_remove(const char *text_class)
|
||||||
Evas_List *next;
|
Evas_List *next;
|
||||||
|
|
||||||
/* search for the text class */
|
/* search for the text class */
|
||||||
for(next = e_config->font_defaults; next; next = evas_list_next(next))
|
for (next = e_config->font_defaults; next; next = next->next)
|
||||||
{
|
{
|
||||||
efd = evas_list_data(next);
|
efd = evas_list_data(next);
|
||||||
if (!strcmp(efd->text_class, text_class))
|
if (!strcmp(efd->text_class, text_class))
|
||||||
|
|
Loading…
Reference in New Issue