provide ARDOUR_UI_UTILS::running_from_source_tree()
This commit is contained in:
parent
556c97b2d5
commit
0cd43a553e
@ -826,3 +826,10 @@ ARDOUR_UI_UTILS::overwrite_file_dialog (Gtk::Window& parent, string title, strin
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool
|
||||
ARDOUR_UI_UTILS::running_from_source_tree ()
|
||||
{
|
||||
gchar const *x = g_getenv ("ARDOUR_THEMES_PATH");
|
||||
return x && (string (x).find ("gtk2_ardour") != string::npos);
|
||||
}
|
||||
|
@ -97,6 +97,7 @@ bool windows_overlap (Gtk::Window *a, Gtk::Window *b);
|
||||
|
||||
bool overwrite_file_dialog (Gtk::Window& parent, std::string title, std::string text);
|
||||
std::string show_gdk_event_state (int state);
|
||||
bool running_from_source_tree ();
|
||||
|
||||
} // namespace
|
||||
#endif /* __ardour_gtk_utils_h__ */
|
||||
|
Loading…
Reference in New Issue
Block a user