changeset 2448:e55dd1239c07

Make this work with projectM 1.0 again.
author William Pitcock <nenolod@atheme.org>
date Thu, 13 Mar 2008 16:39:13 -0500
parents bfa3d9faa4f0
children 76464124f697
files configure.ac src/projectm-1.0/gtk_projectm_impl.cxx
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Thu Mar 13 23:23:04 2008 +0200
+++ b/configure.ac	Thu Mar 13 16:39:13 2008 -0500
@@ -1449,7 +1449,7 @@
 fi
 
 if test "$have_projectm1" = "yes"; then
-	PKG_CHECK_MODULES(LIBPROJECTM1, [libprojectM >= 1.1], [have_projectm1="yes"], [have_projectm1="no"])
+	PKG_CHECK_MODULES(LIBPROJECTM1, [libprojectM >= 1.0], [have_projectm1="yes"], [have_projectm1="no"])
 	if test x$libprjM = xno; then
 	        AC_MSG_WARN([*** libprojectM not found.
 	                        libprojectM is needed to build this package.
--- a/src/projectm-1.0/gtk_projectm_impl.cxx	Thu Mar 13 23:23:04 2008 +0200
+++ b/src/projectm-1.0/gtk_projectm_impl.cxx	Thu Mar 13 16:39:13 2008 -0500
@@ -86,7 +86,7 @@
     g_return_if_fail(priv != NULL);
     g_return_if_fail(priv->pm != NULL);
 
-    priv->pm->pcm()->addPCM16(pcm_data);
+    priv->pm->pcm->addPCM16(pcm_data);
 }
 
 extern "C" void