OS 10.10 compile fixes

* fix clang pickiness regarding boolean
 * ignore ‘verify’ macro
 * tested with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
This commit is contained in:
Robin Gareus 2014-10-19 19:54:01 +02:00
parent 892909b052
commit ffde2fb5f9
8 changed files with 12 additions and 9 deletions

View file

@ -123,8 +123,8 @@ ExportPresetSelector::update_selection ()
}
}
save_button.set_sensitive (current);
remove_button.set_sensitive (current);
save_button.set_sensitive (current != 0);
remove_button.set_sensitive (current != 0);
new_button.set_sensitive (!current && !text.empty() && !preset_name_exists);
}