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

gEDA-cvs: CVS update: x_window.c



  User: werner  
  Date: 07/02/24 05:45:42

  Modified:    .        x_window.c
  Log:
  	* src/x_window.c (x_window_search_page_clist(): Removed unused
  
  	  function (no more needed in page manager).
  
  	  (Patch written by Patrick Bernaud)
  
  
  
  
  Revision  Changes    Path
  1.51      +0 -26     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.50
  retrieving revision 1.51
  diff -u -b -r1.50 -r1.51
  --- x_window.c	19 Nov 2006 18:08:43 -0000	1.50
  +++ x_window.c	24 Feb 2007 10:45:42 -0000	1.51
  @@ -884,32 +884,6 @@
   
   }
   
  -/*! \todo Finish function documentation!!!
  - *  \brief
  - *  \par Function Description
  - *
  - *
  - *  \todo GROSS! but this is required because clist widgets don't seem to
  - *  allow you pass data to callback functions, so I need to get w_current
  - *  by searching the entire window list for page_clist widget :(  If
  - *  somebody knows a better way of doing this, please let me know!
  - */
  -TOPLEVEL *x_window_search_page_clist(GtkWidget *findme)
  -{
  -  TOPLEVEL *w_current;
  -
  -  /* find the toplevel head */
  -  for (w_current = global_window_current;
  -       w_current->prev != NULL;
  -       w_current = w_current->prev);
  -  /* now examine page_clist of each toplevel */
  -  for (;
  -       w_current != NULL && w_current->page_clist != findme;
  -       w_current = w_current->next);
  -  
  -  return w_current;
  -}
  -
   /*! \brief Opens a new untitled page.
    *  \par Function Description
    *  This function creates an empty, untitled page in <B>toplevel</B>.
  
  
  


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