bootchk / resynthesizer

Suite of gimp plugins for texture synthesis
GNU General Public License v3.0
1.47k stars 163 forks source link

Deprecated commands in plugin-heal-transparency.py #6

Closed ghost closed 12 years ago

ghost commented 12 years ago

Using Partha's build of GIMP 2.7.5 and 2.7.6 I get the following warnings when using the Heal transparency plug-in.

WARNING: Plug-In "plugin-heal-transparency.py" ... called deprecated procedure 'gimp-selection-layer-alpha'. It should call 'gimp-image-select-item' instead!

WARNING: Plug-In "plugin-heal-transparency.py" ... called deprecated procedure 'gimp-selection-load'. It should call 'gimp-image-select-item' instead!

At present this is merely an annoyance since the plug-in still functions, but in the long run those functions will probably disappear and leave this plug-in nonfunctional.

bootchk commented 12 years ago

How much of an annoyance? Does it open an alert dialog? If so, I think there is a workaround, to start gimp from a terminal so that such warnings go to the terminal instead of a GUI dialog. Or there is some environment variable you can set to suppress this. Sorry, I can't remember the details. If it doesn't open a dialog, I'm sorry, its not a high priority for me. I would be glad to merge any patches you submit. When it does become more than an annoyance, I plan to fix it.

ghost commented 12 years ago

Yeah, it opens an alert dialog. It's not modal, though, so you can ignore it easily enough.

I tried to figure out how to repair the offending functions myself since I'm familiar enough with Python to know which way is up but GIMP's technical documentation is horrific.