X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Finterfaceprefs.h;h=7a890fb99304bf696ec9e3ff37c7a8df6cedc078;hp=0a6f761a1bcd538b0589a512b2195e4c07ad4a01;hb=54cc56bff09f5004b2a6cd454375f06e56acf5a0;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/cinelerra/interfaceprefs.h b/cinelerra-5.1/cinelerra/interfaceprefs.h index 0a6f761a..7a890fb9 100644 --- a/cinelerra-5.1/cinelerra/interfaceprefs.h +++ b/cinelerra-5.1/cinelerra/interfaceprefs.h @@ -40,7 +40,7 @@ public: void create_objects(); // must delete each derived class int update(int new_value); - const char* behavior_to_text(int mode); + static const char* behavior_to_text(int mode); int start_shbtn_dialog(); void start_probe_dialog(); @@ -111,7 +111,7 @@ public: class ViewBehaviourItem : public BC_MenuItem { public: - ViewBehaviourItem(ViewBehaviourText *popup, char *text, int behaviour); + ViewBehaviourItem(ViewBehaviourText *popup, const char *text, int behaviour); ~ViewBehaviourItem(); int handle_event();