changeset 2332:593fd166af00 trunk

[svn] - warning cleanups
author nenolod
date Sun, 14 Jan 2007 18:53:45 -0800
parents d7ccaa59630f
children b235a81d8838
files ChangeLog src/audacious/strings.c src/audacious/util.c src/audacious/vfs_buffer.c
diffstat 4 files changed, 15 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jan 14 10:54:06 2007 -0800
+++ b/ChangeLog	Sun Jan 14 18:53:45 2007 -0800
@@ -1,3 +1,12 @@
+2007-01-14 18:54:06 +0000  Michael Farber <01mf02@gmail.com>
+  revision [3672]
+  Wiped out some error messages
+  trunk/src/audacious/input.c        |   36 +++++++++++++++++-------------------
+  trunk/src/audacious/ui_equalizer.c |   14 --------------
+  trunk/src/audacious/util.c         |    3 ---
+  3 files changed, 17 insertions(+), 36 deletions(-)
+
+
 2007-01-14 10:50:21 +0000  Michael Farber <01mf02@gmail.com>
   revision [3670]
   Added myself to the developer list
--- a/src/audacious/strings.c	Sun Jan 14 10:54:06 2007 -0800
+++ b/src/audacious/strings.c	Sun Jan 14 18:53:45 2007 -0800
@@ -66,9 +66,6 @@
 #endif
 #endif
 
-static GQuark quark_popup_data;
-
-
 /*
  * escape_shell_chars()
  *
--- a/src/audacious/util.c	Sun Jan 14 10:54:06 2007 -0800
+++ b/src/audacious/util.c	Sun Jan 14 18:53:45 2007 -0800
@@ -1431,8 +1431,8 @@
     if (dblimg->bpp == 1) {
 	register guint8 *srcptr, *ptr, *ptr2, pix;
 
-	srcptr = GDK_IMAGE_XIMAGE(img)->data;
-	ptr = GDK_IMAGE_XIMAGE(dblimg)->data;
+	srcptr = GDK_IMAGE(img)->mem;
+	ptr = GDK_IMAGE(dblimg)->mem;
 	ptr2 = ptr + dblimg->bpl;
 
 	for (y = 0; y < img->height; y++) {
@@ -1471,8 +1471,8 @@
     if (dblimg->bpp == 3) {
 	register guint8 *srcptr, *ptr, *ptr2, pix1, pix2, pix3;
 
-	srcptr = GDK_IMAGE_XIMAGE(img)->data;
-	ptr = GDK_IMAGE_XIMAGE(dblimg)->data;
+	srcptr = GDK_IMAGE(img)->mem;
+	ptr = GDK_IMAGE(dblimg)->mem;
 	ptr2 = ptr + dblimg->bpl;
 
 	for (y = 0; y < img->height; y++) {
@@ -1502,8 +1502,8 @@
     if (dblimg->bpp == 4) {
 	register guint32 *srcptr, *ptr, *ptr2, pix;
 
-	srcptr = (guint32 *) GDK_IMAGE_XIMAGE(img)->data;
-	ptr = (guint32 *) GDK_IMAGE_XIMAGE(dblimg)->data;
+	srcptr = (guint32 *) GDK_IMAGE(img)->mem;
+	ptr = (guint32 *) GDK_IMAGE(dblimg)->mem;
 	ptr2 = ptr + (dblimg->bpl >> 2);
 
 	for (y = 0; y < img->height; y++) {
--- a/src/audacious/vfs_buffer.c	Sun Jan 14 10:54:06 2007 -0800
+++ b/src/audacious/vfs_buffer.c	Sun Jan 14 18:53:45 2007 -0800
@@ -206,7 +206,6 @@
     g_return_val_if_fail(size > 0, NULL);
 
     handle = g_new0(VFSFile, 1);
-    handle->uri == NULL;
 
     buffer = g_new0(VFSBuffer, 1);
     buffer->data = data;