summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/epa.h
diff options
context:
space:
mode:
authorTodd Naugle <toddn@glw.com>2012-06-21 20:15:38 +0000
committerTodd Naugle <toddn@glw.com>2012-06-21 20:15:38 +0000
commit61f879bcee4c8ba471837ad7f6a28339205b85fa (patch)
treeccddb63b82785e3a8ba250ec1e5e79ba999ea668 /libs/pbd/pbd/epa.h
parent8c87102688c06409850b6c7543a17932117a7a94 (diff)
Fixing issues with opening a browser when using the bundle. Use xdg-open instead of glib functions. Fix to epa to ensure that the enviroment is restored correctly. The current enviroment has to be cleared. Otherwise any variables that are set in the current enviroment, but do not have a setting in the restored version will be left set.
git-svn-id: svn://localhost/ardour2/branches/3.0@12812 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/epa.h')
-rw-r--r--libs/pbd/pbd/epa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/pbd/pbd/epa.h b/libs/pbd/pbd/epa.h
index ffcd78504a..477d7f9678 100644
--- a/libs/pbd/pbd/epa.h
+++ b/libs/pbd/pbd/epa.h
@@ -38,6 +38,8 @@ class EnvironmentalProtectionAgency {
static void set_global_epa (EnvironmentalProtectionAgency* epa) { _global_epa = epa; }
private:
+ void clear () const;
+
bool _armed;
std::string _envname;
std::map<std::string,std::string> e;