[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: x_compselect.c



  User: cnieves 
  Date: 06/12/05 14:39:13

  Modified:    .        x_compselect.c
  Log:
  Converted the clib_directories list into a double linked list and 
  
  reversed the search order (last added directories first).
  
  
  
  
  Revision  Changes    Path
  1.10      +2 -2      eda/geda/gaf/gschem/src/x_compselect.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_compselect.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_compselect.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- x_compselect.c	13 Nov 2006 21:48:36 -0000	1.9
  +++ x_compselect.c	5 Dec 2006 19:39:12 -0000	1.10
  @@ -530,14 +530,14 @@
   compselect_create_child_model (void)
   {
     GtkTreeStore *store;
  -  const GSList *directories, *dir; 
  +  const GList *directories, *dir; 
   
     store = (GtkTreeStore*)gtk_tree_store_new (1,
                                                G_TYPE_STRING);
     
     /* populate component store */
     directories = s_clib_get_directories ();
  -  for (dir = directories; dir != NULL; dir = g_slist_next (dir)) {
  +  for (dir = directories; dir != NULL; dir = g_list_next (dir)) {
       GtkTreeIter iter, iter2;
       GSList *components, *comp;
   
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs