[Commits] stock_pixmap.c 1.25.2.71 1.25.2.72

colin at claws-mail.org colin at claws-mail.org
Tue Oct 25 18:52:00 CEST 2011


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

Modified Files:
      Tag: gtk2
	stock_pixmap.c 
Log Message:
2011-10-25 [colin]	3.7.10cvs51

	* src/stock_pixmap.c
		Fix build with gtk + 2.20

Index: stock_pixmap.c
===================================================================
RCS file: /home/claws-mail/claws/src/stock_pixmap.c,v
retrieving revision 1.25.2.71
retrieving revision 1.25.2.72
diff -u -d -r1.25.2.71 -r1.25.2.72
--- stock_pixmap.c	25 Oct 2011 06:07:52 -0000	1.25.2.71
+++ stock_pixmap.c	25 Oct 2011 16:51:58 -0000	1.25.2.72
@@ -600,14 +600,6 @@
 	} else {
 		cm_return_val_if_fail(data->base_pixbuf != NULL, FALSE);
 	}
-	cairo_pattern_t *pattern = gdk_window_get_background_pattern(drawable);
-	if (pattern == NULL)
-		pattern = gdk_window_get_background_pattern(gdk_window_get_parent(drawable));
-	
-	cairo_pattern_reference(pattern);
-	cairo_set_source(cr, pattern);
-	cairo_fill(cr);
-	cairo_pattern_destroy(pattern);
 
 	if (data->highlight) {
 		MainWindow *mw = NULL;



More information about the Commits mailing list