summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2011-03-20 14:01:42 +0000
committerColin Guthrie <cguthrie@mandriva.org>2011-03-20 14:01:42 +0000
commitd7589d48d26289f333fdd623a21e76c5fcb07c8d (patch)
tree60e4ff9abd45f18fcf024b12d625888bf7e1a176
parent048f943234c630e088c6589828306becf63e10c5 (diff)
Build the module folder compatible with git master and 1.0
-rw-r--r--src/paprefs.cc9
1 files changed, 1 insertions, 8 deletions
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);