changeset 1380:3ede6ff9794f trunk

[svn] - provide some additional debugging hints with gdk_error_trap_push/pop.
author nenolod
date Mon, 10 Jul 2006 02:37:04 -0700
parents 5767c05ce900
children f85f9fe62532
files ChangeLog audacious/playlist_list.c
diffstat 2 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jul 10 02:34:37 2006 -0700
+++ b/ChangeLog	Mon Jul 10 02:37:04 2006 -0700
@@ -1,3 +1,13 @@
+2006-07-10 09:34:37 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1672]
+  - do transparency the X11 way
+  
+
+  Changes:        Modified:
+  +31 -22         trunk/audacious/playlist_list.c  
+  +2 -2           trunk/audacious/playlist_list.h  
+
+
 2006-07-10 08:18:38 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1670]
   - some improvements to song_change, still sucky
--- a/audacious/playlist_list.c	Mon Jul 10 02:34:37 2006 -0700
+++ b/audacious/playlist_list.c	Mon Jul 10 02:37:04 2006 -0700
@@ -102,8 +102,12 @@
 
         gdk_draw_pixmap(p, gc, in, x, y, 0, 0, w, h);
 
+	gdk_error_trap_push();
+
 	ximg = gdk_drawable_copy_to_image(in, NULL, x, y, 0, 0, w, h);	/* copy */
 
+	gdk_error_trap_pop();
+
 	shade_gdkimage_generic(gdk_drawable_get_visual(GDK_WINDOW(playlistwin->window)),
 		ximg, ximg->bpl, w, h, 60, 60, 60, shade_color->pixel);