diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2011-03-20 14:01:42 +0000 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2011-03-20 14:01:42 +0000 |
commit | d7589d48d26289f333fdd623a21e76c5fcb07c8d (patch) | |
tree | 60e4ff9abd45f18fcf024b12d625888bf7e1a176 /src/paprefs.cc | |
parent | 048f943234c630e088c6589828306becf63e10c5 (diff) |
Build the module folder compatible with git master and 1.0
Diffstat (limited to 'src/paprefs.cc')
-rw-r--r-- | src/paprefs.cc | 9 |
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); |