GTKOSX is not a valid check. Use __APPLE__
This commit is contained in:
parent
f54f270627
commit
5200885fb8
|
@ -132,7 +132,7 @@ ARDOUR_UI::connect_dependents_to_session (ARDOUR::Session *s)
|
|||
gint
|
||||
ARDOUR_UI::exit_on_main_window_close (GdkEventAny * /*ev*/)
|
||||
{
|
||||
#ifdef GTKOSX
|
||||
#ifdef __APPLE__
|
||||
/* just hide the window, and return - the top menu stays up */
|
||||
editor->hide ();
|
||||
return TRUE;
|
||||
|
|
|
@ -700,7 +700,7 @@ ARDOUR_UI::build_menu_bar ()
|
|||
format_label.set_name ("Format");
|
||||
format_label.set_use_markup ();
|
||||
|
||||
#ifdef GTKOSX
|
||||
#ifdef __APPLE__
|
||||
use_menubar_as_top_menubar ();
|
||||
#else
|
||||
menu_hbox.pack_start (*menu_bar, false, false);
|
||||
|
|
|
@ -224,8 +224,8 @@ static const gchar *_rb_opt_strings[] = {
|
|||
#endif
|
||||
|
||||
//Robin says: this should be odd to accomodate cairo drawing offset ( width/2 rounds up to pixel boundary )
|
||||
#ifdef GTKOSX
|
||||
#define COMBO_TRIANGLE_WIDTH 25 // ArdourButton _diameter (11) + 2 * arrow-padding (2*2) + 2 * text-padding (2*5)
|
||||
#ifdef __APPLE__
|
||||
#define COMBO_TRIANGLE_WIDTH 19 // ArdourButton _diameter (11) + 2 * arrow-padding (2*2) + 2 * text-padding (2*5)
|
||||
#else
|
||||
#define COMBO_TRIANGLE_WIDTH 11 // as-measured for win/linux.
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue