Hi, gcc is good in show what function is used instead. one example: gtk/iupgtk_open.c:245:3: warning: ‘gtk_style_context_get_background_color’ is deprecated: Use 'gtk_render_background' instead [-Wdeprecated-declarations] gtk_style_context_get_background_color(context, GTK_STATE_FLAG_SELECTED, &color);
Best. ________________________________________ De: Antonio Scuri <[email protected]> Enviado: domingo, 10 de dezembro de 2017 17:39 Para: IUP discussion list. Assunto: Re: [Iup-users] Split gtk driver to GTK2_DRIVER and GTK3_DRIVER Those warning are there to remember me that they were not ported to GTK3 for some reason. Sometimes GTK simply does not have a replacement option so I leave the warning there to remember that some day this will be a problem. When a code is replaced I always write an ifdef in the place. You will notice a lot of those "#if GTK_CHECK_VERSION", and it is not just to separate GTK2 and GTK3. All the time they are deprecating functions. Most of the code is shared, I don't think it is a good idea to split in two drivers. Best, Scuri 2017-12-10 14:54 GMT-02:00 Ranier VF <[email protected]<mailto:[email protected]>>: Hi, I`m compiling IUP in linux ubuntu 64 bits and can see many warnings about gtk functions deprecateds. Would be better split gtk driver to GTK2_DRIVER and GTK3_DRIVER, to replace deprecated gtk2 functions to gtk3 functions. Best. Ranier ------------------------------------------------------------------------------ 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 [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/iup-users ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
