From 0e1642f0b479981e03fc904af6553562700949c6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 24 Apr 2016 12:41:25 -0400 Subject: remove unused code --- gtk2_ardour/ardour_ui.h | 3 --- gtk2_ardour/cocoacarbon.mm | 18 ------------------ 2 files changed, 21 deletions(-) diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h index 224b85bd13..032415aa85 100644 --- a/gtk2_ardour/ardour_ui.h +++ b/gtk2_ardour/ardour_ui.h @@ -798,9 +798,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr void step_edit_status_change (bool); - void platform_specific (); - void platform_setup (); - /* these are used only in response to a platform-specific "ShouldQuit" signal */ bool idle_finish (); diff --git a/gtk2_ardour/cocoacarbon.mm b/gtk2_ardour/cocoacarbon.mm index 6564843972..592a55d09d 100644 --- a/gtk2_ardour/cocoacarbon.mm +++ b/gtk2_ardour/cocoacarbon.mm @@ -41,24 +41,6 @@ using namespace std; using namespace PBD; -void -ARDOUR_UI::platform_specific () -{ - gtk_application_ready (); - - if (!ARDOUR_COMMAND_LINE::finder_invoked_ardour) { - - /* if invoked from the command line, make sure we're visible */ - - [NSApp activateIgnoringOtherApps:1]; - } -} - -void -ARDOUR_UI::platform_setup () -{ -} - bool cocoa_open_url (const char* uri) { -- cgit v1.2.3