Re: [gtk-osx-users] About deprecations




On Jan 12, 2017, at 2:41 AM, Gabriele Greco <gabrielegreco gmail com> wrote:

Every time I run my GTK+2 (2.24.X quartz built with jhbuild not more than 2 months ago) from terminal I get 
the following warning:

*** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be 
used in new applications. Use convertRectToBacking: instead. 

AFAIK the problem is in gdk/quartz/gdkscreen-quartz.c, and is present also in current GIT (all branches), 
there are plans to replace this with the suggested method or there are compatibilities issues with older 
OSX versions in that way?

There are ways to code around it even if the newer function was introduced after the oldest supported MacOS 
version. More likely it hasn't generated any concern among the very few Mac developers for Gtk because while 
it's deprecated the function hasn't yet been removed from the library.

Regards,
John Ralls



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