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

gEDA-cvs: CVS update: i_vars.c



  User: ahvezda 
  Date: 06/09/04 12:51:57

  Modified:    .        i_vars.c x_window.c
  Log:
  Bug fixes for autosave related crashes
  
  
  
  
  Revision  Changes    Path
  1.34      +0 -6      eda/geda/gaf/gschem/src/i_vars.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: i_vars.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/i_vars.c,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -b -r1.33 -r1.34
  --- i_vars.c	6 Aug 2006 19:23:19 -0000	1.33
  +++ i_vars.c	4 Sep 2006 16:51:57 -0000	1.34
  @@ -245,10 +245,4 @@
     w_current->keyboardpan_gain = default_keyboardpan_gain;
   
     w_current->auto_save_interval = default_auto_save_interval;
  -  if (w_current->auto_save_interval != 0) {
  -    w_current->auto_save_timeout = 
  -        g_timeout_add(w_current->auto_save_interval*1000,
  -		      (GSourceFunc) s_page_autosave,
  -		      w_current);
  -  }
   }
  
  
  
  1.37      +4 -1      eda/geda/gaf/gschem/src/x_window.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_window.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_window.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -b -r1.36 -r1.37
  --- x_window.c	30 Aug 2006 11:06:16 -0000	1.36
  +++ x_window.c	4 Sep 2006 16:51:57 -0000	1.37
  @@ -135,7 +135,10 @@
     /* x_window_setup_rest() - END */
   
     /* immediately setup user params */
  -  i_vars_set (toplevel);
  +  i_vars_set(toplevel);
  +
  +  /* Initialize the autosave callback */
  +  s_page_autosave_init(toplevel);
   
     /* make sure none of these events happen till we are done */
     toplevel->DONT_DRAW_CONN = 1;
  
  
  


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