bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] GTK3


From: Michael Petch
Subject: Re: [Bug-gnubg] GTK3
Date: Fri, 16 Jan 2015 18:42:59 -0700
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]