[Commits] gtkcmctree.c 1.1.2.27 1.1.2.28

colin at claws-mail.org colin at claws-mail.org
Tue Jan 3 20:43:52 CET 2012


Update of /home/claws-mail/claws/src/gtk
In directory claws-mail:/tmp/cvs-serv466/src/gtk

Modified Files:
      Tag: gtk2
	gtkcmctree.c 
Log Message:
2012-01-03 [colin]	3.8.0cvs10

	* src/gtk/gtkcmctree.c
		Revert previous patch, it's buggy on headers

Index: gtkcmctree.c
===================================================================
RCS file: /home/claws-mail/claws/src/gtk/Attic/gtkcmctree.c,v
retrieving revision 1.1.2.27
retrieving revision 1.1.2.28
diff -u -d -r1.1.2.27 -r1.1.2.28
--- gtkcmctree.c	3 Jan 2012 17:09:55 -0000	1.1.2.27
+++ gtkcmctree.c	3 Jan 2012 19:43:49 -0000	1.1.2.28
@@ -854,12 +854,9 @@
 		  if (layout)
 		    {
 		      gint row_center_offset = (clist->row_height - logical_rect.height) / 2;
-		      gdk_cairo_rectangle(cr, &clip_rectangle);
-		      cairo_clip(cr);
 		      gdk_cairo_set_source_color(cr, fgcolor);
 		      cairo_move_to(cr, offset, row_rectangle.y + row_center_offset + clist_row->cell[i].vertical);
 		      pango_cairo_show_layout(cr, layout);
-		      cairo_reset_clip(cr);
 		      g_object_unref (G_OBJECT (layout));
 		    }
 		  break;
@@ -925,12 +922,9 @@
 		offset += GTK_CMCELL_PIXTEXT (clist_row->cell[i])->spacing;
 	    }
 	  
-	  gdk_cairo_rectangle(cr, &clip_rectangle);
-	  cairo_clip(cr);
 	  cairo_move_to(cr, offset, row_rectangle.y + row_center_offset + clist_row->cell[i].vertical);
 	  gdk_cairo_set_source_color(cr, fgcolor);
 	  pango_cairo_show_layout(cr, layout);
-	  cairo_reset_clip(cr);
           g_object_unref (G_OBJECT (layout));
 	}
     }



More information about the Commits mailing list