changeset 2162:48c8ecbfb282 trunk

[svn] - remove deprecated symbol warnings for gdk_draw_pixmap
author nenolod
date Mon, 18 Dec 2006 09:43:42 -0800
parents c12319817d7e
children ac8a7d286616
files ChangeLog audacious/widgets/playlist_list.c audacious/widgets/skin.c audacious/widgets/textbox.c
diffstat 4 files changed, 23 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Dec 18 08:44:33 2006 -0800
+++ b/ChangeLog	Mon Dec 18 09:43:42 2006 -0800
@@ -1,3 +1,16 @@
+2006-12-18 16:44:33 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [3327]
+  - patch to add a scrolling voiceprint to the mini visualizer.
+  Patch by: Troels Bang Jensen ([Marvin] on #audacious).
+  
+  trunk/audacious/mainwin.c       |    5 ++++-
+  trunk/audacious/visualization.c |   12 ++++++++++--
+  trunk/audacious/widgets/svis.c  |    3 +++
+  trunk/audacious/widgets/vis.c   |   40 +++++++++++++++++++++++++++++++++++++++-
+  trunk/audacious/widgets/vis.h   |    3 ++-
+  5 files changed, 58 insertions(+), 5 deletions(-)
+
+
 2006-12-18 15:31:51 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [3325]
   - suppress noise on transition from pause to stop.
--- a/audacious/widgets/playlist_list.c	Mon Dec 18 08:44:33 2006 -0800
+++ b/audacious/widgets/playlist_list.c	Mon Dec 18 09:43:42 2006 -0800
@@ -105,7 +105,7 @@
 	p = gdk_pixmap_new(in, w, h, -1);
 	gc = gdk_gc_new(p);
 
-        gdk_draw_pixmap(p, gc, in, x, y, 0, 0, w, h);
+        gdk_draw_drawable(p, gc, in, x, y, 0, 0, w, h);
 
 	gdk_error_trap_push();
 
@@ -580,7 +580,7 @@
 	if (!rootpix)
            rootpix = shade_pixmap(get_transparency_pixmap(), 0, 0, 0, 0, gdk_screen_width(), gdk_screen_height(), 
     			    skin_get_color(bmp_active_skin, SKIN_PLEDIT_NORMALBG));
-        gdk_draw_pixmap(obj, gc, rootpix, cfg.playlist_x + pl->pl_widget.x,
+        gdk_draw_drawable(obj, gc, rootpix, cfg.playlist_x + pl->pl_widget.x,
                     cfg.playlist_y + pl->pl_widget.y, pl->pl_widget.x, pl->pl_widget.y,
                     width, height);
     }
--- a/audacious/widgets/skin.c	Mon Dec 18 08:44:33 2006 -0800
+++ b/audacious/widgets/skin.c	Mon Dec 18 09:43:42 2006 -0800
@@ -1605,8 +1605,8 @@
 
     width = MIN(width, pixmap->width - xsrc);
     height = MIN(height, pixmap->height - ysrc);
-    gdk_draw_pixmap(drawable, gc, pixmap->pixmap, xsrc, ysrc,
-                    xdest, ydest, width, height);
+    gdk_draw_drawable(drawable, gc, pixmap->pixmap, xsrc, ysrc,
+                      xdest, ydest, width, height);
 }
 
 void
--- a/audacious/widgets/textbox.c	Mon Dec 18 08:44:33 2006 -0800
+++ b/audacious/widgets/textbox.c	Mon Dec 18 09:43:42 2006 -0800
@@ -59,13 +59,13 @@
         cw = tb->tb_pixmap_width - tb->tb_offset;
         if (cw > tb->tb_widget.width)
             cw = tb->tb_widget.width;
-        gdk_draw_pixmap(obj, tb->tb_widget.gc, src, tb->tb_offset, 0,
-                        tb->tb_widget.x, tb->tb_widget.y, cw,
-                        tb->tb_widget.height);
+        gdk_draw_drawable(obj, tb->tb_widget.gc, src, tb->tb_offset, 0,
+                          tb->tb_widget.x, tb->tb_widget.y, cw,
+                          tb->tb_widget.height);
         if (cw < tb->tb_widget.width)
-            gdk_draw_pixmap(obj, tb->tb_widget.gc, src, 0, 0,
-                            tb->tb_widget.x + cw, tb->tb_widget.y,
-                            tb->tb_widget.width - cw, tb->tb_widget.height);
+            gdk_draw_drawable(obj, tb->tb_widget.gc, src, 0, 0,
+                              tb->tb_widget.x + cw, tb->tb_widget.y,
+                              tb->tb_widget.width - cw, tb->tb_widget.height);
     }
 }