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

gEDA-cvs: CVS update: prototype.h



  User: cnieves 
  Date: 05/12/17 08:59:13

  Modified:    .        prototype.h
  Log:
  Use dynamic memory allocation in x_color_get_name and changed its definition.
  
  
  
  
  Revision  Changes    Path
  1.124     +1 -1      eda/geda/devel/gschem/include/prototype.h
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: prototype.h
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/include/prototype.h,v
  retrieving revision 1.123
  retrieving revision 1.124
  diff -u -b -r1.123 -r1.124
  --- prototype.h	27 Nov 2005 00:15:01 -0000	1.123
  +++ prototype.h	17 Dec 2005 13:59:13 -0000	1.124
  @@ -728,7 +728,7 @@
   void x_color_allocate_all(void);
   GdkColor *x_get_color(int color);
   GdkColor *x_get_darkcolor(int color);
  -int x_color_get_name(int index, char *string);
  +gchar *x_color_get_name(int index);
   /* x_dialog.c */
   #ifdef HAS_GTK22
   int text_view_calculate_real_tab_width(GtkTextView *textview, int tab_size);