[pulseaudio-commits] [SCM] PulseAudio Preferences Tool branch, master, updated. v0.9.9-4-gd7589d4

Colin Guthrie gitmailer-noreply at 0pointer.de
Sun Mar 20 07:08:09 PDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Preferences Tool" repository.

The master branch has been updated
      from  048f943234c630e088c6589828306becf63e10c5 (commit)

- Log -----------------------------------------------------------------
d7589d4 Build the module folder compatible with git master and 1.0
-----------------------------------------------------------------------

Summary of changes:
 src/paprefs.cc |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

-----------------------------------------------------------------------

commit d7589d48d26289f333fdd623a21e76c5fcb07c8d
Author: Colin Guthrie <cguthrie at mandriva.org>
Date:   Sun Mar 20 14:01:42 2011 +0000

    Build the module folder compatible with git master and 1.0

diff --git a/src/paprefs.cc b/src/paprefs.cc
index 3da4be0..21fdc95 100644
--- a/src/paprefs.cc
+++ b/src/paprefs.cc
@@ -639,14 +639,7 @@ void MainWindow::readFromGConf() {
 gchar * MainWindow::modulePath(const gchar *name) {
   gchar *path, *pulsedir, *c;
 
-  pulsedir = g_strdup_printf ("pulse-%s", pa_get_library_version ());
-
-  for (c = pulsedir + strlen ("pulse-"); *c != '\0'; c++) {
-    if (*c == '-') {
-      *c = '\0';
-      break;
-    }
-  }
+  pulsedir = g_strdup_printf ("pulse-%d.%d", PA_MAJOR, PA_MINOR);
 
   path = g_build_filename (MODLIBDIR, pulsedir, "modules", name, NULL);
   g_free (pulsedir);

-- 
hooks/post-receive
PulseAudio Preferences Tool



More information about the pulseaudio-commits mailing list