I have a Gtk::Window with a Gtk::CheckMenuItem member. Also, there is a function UpdateChecks() that updates whether the CheckMenuItem(s) should be checked or not, by using set_active() (within a Try and Catch(...)).
Application works fine. For some reason occasionally when I quit (and only after I quit) the program I get a set of Gtk-CRITICAL **: gtk_check_menu_item_set_active: assertion `GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed messages dumped into the terminal that I've run the program from.
What could be causing this?
Is there a better way to set the values. Meaning, can the Glib::ProxyProperty:
ropert_active be diverted to a function in my Gtk::Window class to set the check on or off depending on variables within my Gtk::Window?
Thanks for any help,