Re: Deprecated cogl_set_source_color4ub() in pick()



Hi,

I don't think there is a path forward for using the CoglPath API :/
You'll always end up using a deprecated function as far as I can tell.

Maybe Rob (cc) knows a way?

Cheers,

-
Lionel

On Sat, 2016-04-02 at 13:12 +0200, Jiří Techet wrote:
Hi,

for some time I've been getting the following warning during
libchamplain compilation:

champlain-point.c: In function 'pick':
champlain-point.c:151:3: warning: 'cogl_set_source_color4ub' is
deprecated (declared at /usr/include/cogl/cogl/cogl1-context.h:675)
[-Wdeprecated-declarations]
   cogl_set_source_color4ub (color->red,
   ^

This is used in the pick() implementation as suggested by the clutter
documentation (which should probably be updated):

https://developer.gnome.org/clutter-cookbook/stable/actors-non-rectan
gular.html

What should be used instead of the deprecated call?

Thanks.

Jiri
_______________________________________________
clutter-list mailing list
clutter-list gnome org
https://mail.gnome.org/mailman/listinfo/clutter-list


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