/[gtktalog]/gtktalog/src/config_parse.y
ViewVC logotype

Diff of /gtktalog/src/config_parse.y

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by ymettier, Mon May 19 20:08:40 2003 UTC revision 1.8 by chevdor, Tue Aug 19 19:52:26 2003 UTC
# Line 1686  init_config (GtkWidget * w) Line 1686  init_config (GtkWidget * w)
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                                
# Line 1693  init_config (GtkWidget * w) Line 1696  init_config (GtkWidget * w)
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    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26