GTK3 compilation fix for macOS, closes #3589

This commit is contained in:
Morgan Hardwood 2017-01-06 20:26:14 +01:00
parent 934f1b1513
commit 4c20b1f4af

View File

@ -746,7 +746,7 @@ Gtk::Widget* Preferences::getColorManagementPanel ()
int row = 0;
gmonitor->attach (*mplabel, 0, row, 1, 1);
#if defined(__APPLE__) // monitor profile not supported on apple
Gtk::Label *osxwarn = Gtk::manage (new Gtk::Label (M("PREFERENCES_MONPROFILE_WARNOSX"), Gtk::ALIGN_LEFT));
Gtk::Label *osxwarn = Gtk::manage (new Gtk::Label (M("PREFERENCES_MONPROFILE_WARNOSX"), Gtk::ALIGN_START));
setExpandAlignProperties(osxwarn, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER);
gmonitor->attach (*osxwarn, 1, row, 1, 1);
#else