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

gEDA-cvs: CVS update: gtksheet_2_2.c



  User: sdb     
  Date: 06/07/31 15:09:24

  Modified:    .        gtksheet_2_2.c
  Log:
  src/gtksheet_2_2.c: fixed bug in gtk_sheet_make_backing_pixmap.
  
  
  
  
  Revision  Changes    Path
  1.11      +2 -1      eda/geda/gaf/gattrib/src/gtksheet_2_2.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: gtksheet_2_2.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gattrib/src/gtksheet_2_2.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- gtksheet_2_2.c	17 Jul 2006 01:50:09 -0000	1.10
  +++ gtksheet_2_2.c	31 Jul 2006 19:09:24 -0000	1.11
  @@ -4234,7 +4234,8 @@
   			   &pixmap_width, &pixmap_height);
         if ((pixmap_width != width) || (pixmap_height != height))
   	{
  -          g_free(sheet->pixmap);
  +          gdk_pixmap_unref(sheet->pixmap); /* replaced by SDB on 7.31.2006 */
  +          /* g_free(sheet->pixmap); */
   	  sheet->pixmap = gdk_pixmap_new (sheet->sheet_window,
   					       width, height,
   					       -1);
  
  
  


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