1686 |
{ |
{ |
1687 |
/* Icon */ |
/* Icon */ |
1688 |
|
|
1689 |
|
// WK: This section fills up the glist that contains |
1690 |
|
// the mime_type_to_skip data |
1691 |
|
|
1692 |
gl1 = GET_TOKEN; |
gl1 = GET_TOKEN; |
1693 |
gl2 = g_list_next (gl1); |
gl2 = g_list_next (gl1); |
1694 |
|
|
1696 |
|
|
1697 |
mime_type_to_skip=g_new(mime_type_to_skip_t, 1); |
mime_type_to_skip=g_new(mime_type_to_skip_t, 1); |
1698 |
|
|
1699 |
mime_type_to_skip->state = (gboolean)gl2->data; |
mime_type_to_skip->state = (gboolean)gl2->data; // wk : boolean or int ??? |
1700 |
|
|
1701 |
mime_type_to_skip->mime_type = g_strdup (((GString*) (gl1->data))->str); |
mime_type_to_skip->mime_type = g_strdup (((GString*) (gl1->data))->str); |
1702 |
|
|
1703 |
my_config->mime_to_skip_during_a_scan= |
my_config->mime_to_skip_during_a_scan= |
1704 |
g_list_append(my_config->mime_to_skip_during_a_scan, |
g_list_append(my_config->mime_to_skip_during_a_scan, |
1705 |
mime_type_to_skip); |
mime_type_to_skip); |
1706 |
|
|
1707 |
g_string_free (gl1->data, TRUE); |
//g_string_free (gl1->data, TRUE); |
1708 |
g_list_free (gl1); |
//g_list_free (gl1); |
1709 |
|
|
1710 |
NEXT_TOKEN; |
NEXT_TOKEN; |
1711 |
|
|