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

gEDA-cvs: CVS update: s_page.nw



  User: pbernaud
  Date: 05/02/13 17:03:58

  Modified:    .        s_page.nw
  Log:
  Removed useless initialization of page head.
  
  
  
  
  Revision  Changes    Path
  1.13      +1 -6      eda/geda/devel/libgeda/noweb/s_page.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: s_page.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/libgeda/noweb/s_page.nw,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -b -r1.12 -r1.13
  --- s_page.nw	11 Feb 2005 18:18:42 -0000	1.12
  +++ s_page.nw	13 Feb 2005 22:03:57 -0000	1.13
  @@ -127,6 +127,7 @@
       g_free (pwd);
     }
   	
  +  g_assert (toplevel->init_bottom != 0);
     page->coord_aspectratio = (
       ((float) toplevel->init_right) / ((float) toplevel->init_bottom));
   
  @@ -308,12 +309,6 @@
      */
     head->page_control = -1; 
   
  -  /* is this really required for a page head? */
  -  head->coord_aspectratio = (
  -    ((float) toplevel->init_right) / ((float) toplevel->init_bottom));
  -  head->up = -2;
  -  s_tile_init (toplevel, head);
  -
     /* add head as page head of toplevel */
     toplevel->page_head = toplevel->page_tail = head;