On 2015-01-16 6:01 PM, Michael Petch wrote: > > It seems that although the function was officially deprecated in 2.32.0, > previous code bases started marking it as deprecated early. Looking at > https://git.gnome.org/browse/gdk-pixbuf/plain/NEWS?id=2.31.2 . It says > "Deprecate GdkPixdata" which happens to include the function > "gdk_pixbuf_new_from_inline" . 2.31.2 was released at the latter part of > 2014. >
Doing further reading, 2.32.0 doesn't officially exist yet. I guess the Gtk developers mark things as deprecated in the previous minor version but the functionality is maintained. This means that for the time being the warning is non fatal and things will work as expected in 2.31.x . However when 2.32.0 is officially released we will need to have a fix in place to support it. Apparently inline pixmap images may not be supported at the moment via GResource (GResource is now GLIB-GIO functionality) . The fix for this may require us loading the images from their resource files when GNUbg launches. At present all pixmaps are pre-processed and c code generated. The images are then compiled directly in the executable. This means we may have to check the GTK version in configure.ac and the Makefile.am so that the preprocessing to c source isn't done with 2.32.0. Then we'll have to install the image files into the appropriate installation locations. GNUbg will then have to use GResource look them up and load them during initialization. -- Michael Petch CApp::Sysware Consulting Ltd. OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304 _______________________________________________ Bug-gnubg mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-gnubg
