On 4/10/18, Antonio Scuri <antonio.sc...@gmail.com> wrote: > No, it is GTK > 2.14. Here is the code: > > char* hidemark = iupAttribGetStr(ih, "HIDEMARK"); > if (!hidemark && gtk_check_version(2, 14, 0) == NULL) > { > /* force HIDEMARK if VALUE is defined before Map, after GTK 2.14 */ > if (!iupAttribGet(ih, "VALUE")) > hidemark = "YES"; > } > > if (iupStrBoolean(hidemark)) > ih->handle = gtk_menu_item_new_with_label(""); > else > ih->handle = gtk_check_menu_item_new_with_label(""); > > Maybe this code is not working for your system. Can you check it? > > We can change that to > > #if GTK_CHECK_VERSION(2, 14, 0) > if (!hidemark) > > Best, > Scuri >
Okay, I just stepped through the code. gtk_check_version(2, 14, 0) returns: "GTK+ version too new (major mismatch)" So that is causing the problem. #if GTK_CHECK_VERSION(2, 14, 0) appears to be true, and will work as you propose. Thanks, Eric ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users