mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
use running_from_source_tree()
This commit is contained in:
parent
0cd43a553e
commit
40bb2a5a08
1 changed files with 1 additions and 2 deletions
|
|
@ -331,8 +331,7 @@ ARDOUR_UI::ARDOUR_UI (int *argcp, char **argvp[], const char* localedir)
|
|||
|
||||
if (string (VERSIONSTRING).find (".pre") != string::npos) {
|
||||
/* check this is not being run from ./ardev etc. */
|
||||
gchar const *x = g_getenv ("ARDOUR_THEMES_PATH");
|
||||
if (!x || string (x).find ("gtk2_ardour") == string::npos) {
|
||||
if (!running_from_source_tree ()) {
|
||||
pre_release_dialog ();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue