summaryrefslogtreecommitdiff
path: root/gtk2_ardour/main.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-03-08 16:41:45 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2013-03-08 16:41:45 +0000
commitba73a77c6358ffc418dc726c0977239decf401b6 (patch)
tree7addb44826d0686dd358840c9c0fcfcd322da27c /gtk2_ardour/main.cc
parent3eef81daa23ebf8dffe65f02799c8383385e1128 (diff)
switch to Lucida Sans Typewriter as OS X monospace font; new pingback code to get announcements from ardour.org (can be disabled on the command line with -a)
git-svn-id: svn://localhost/ardour2/branches/3.0@14189 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r--gtk2_ardour/main.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc
index a5973b03b3..f386f2a0e5 100644
--- a/gtk2_ardour/main.cc
+++ b/gtk2_ardour/main.cc
@@ -222,7 +222,11 @@ fixup_bundle_environment (int, char* [])
}
static void load_custom_fonts() {
-#if MAC_OS_X_VERSION_MIN_REQUIRED > 1060
+/* this code will only compile on OS X 10.6 and above, and we currently do not
+ * need it anyway since we have no custom fonts on OS X. Leave it here in case
+ * we ever need to comeback to it.
+ */
+#if 0
std::string ardour_mono_file;
if (!find_file_in_search_path (ardour_data_search_path(), "ArdourMono.ttf", ardour_mono_file)) {
@@ -240,8 +244,6 @@ static void load_custom_fonts() {
if (CTFontManagerRegisterFontsForURL(fontURL, kCTFontManagerScopeProcess, &error) != true) {
cerr << _("Cannot load ArdourMono TrueType font.") << endl;
}
-#else
- /* no real usable API for this on OS X 10.5 or below */
#endif
}