[Gimp-developer] GIMP_DEPRECATED - recipe for translation?



Hi,

I have a plugin which uses lots of functions which are deprecated now.
Since the macro GIMP_DEPRECATED_FOR suggests functions with totally different parameters
GIMP_DEPRECATED_FOR(gimp_drawable_get_buffer)
void      gimp_pixel_rgn_init       (GimpPixelRgn  *pr,
                                     GimpDrawable  *drawable,
                                     gint           x,
                                     gint           y,
                                     gint           width,
                                     gint           height,
                                     gint           dirty,
                                     gint           shadow);

(gimp_drawable_get_buffer has a single drawable_ID parameter only)

is there a recipe how to translate the old calls into the current function calls?

Many thanks for a hint,
Helmut.


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