summaryrefslogtreecommitdiff
path: root/libs/ardour/globals.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2012-06-23 05:07:42 +0000
committerTim Mayberry <mojofunk@gmail.com>2012-06-23 05:07:42 +0000
commit2f507c8a764d4647385c16e7a12be276422b2a7a (patch)
treec46b4ca2a6b56ef00a08d67fcd034b3f8b514924 /libs/ardour/globals.cc
parent4363a6920f0340be4416d79b290f0696eae6c667 (diff)
Use giomm in PBD::sys::copy_file and change function signature
now returns bool to indicate successful copy rather than throw and takes strings as args git-svn-id: svn://localhost/ardour2/branches/3.0@12850 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r--libs/ardour/globals.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc
index caad270195..b2fd8282fe 100644
--- a/libs/ardour/globals.cc
+++ b/libs/ardour/globals.cc
@@ -45,6 +45,8 @@
#include <xmmintrin.h>
#endif
+#include <giomm.h>
+
#include <glibmm/fileutils.h>
#include <glibmm/miscutils.h>
@@ -216,6 +218,9 @@ ARDOUR::init (bool use_windows_vst, bool try_optimization)
Glib::thread_init();
}
+ // this really should be in PBD::init..if there was one
+ Gio::init ();
+
(void) bindtextdomain(PACKAGE, LOCALEDIR);
PBD::ID::init ();