On Thu, 2007-01-18 at 13:31 +0100, Bart wrote:
> i'm developing a script that insert the clipboard as a layer
Huh? How is that different to what Edit->Paste does?
> and to avoid error messages to the user i'd
> like to check up wether the clipboard is empty or not.
> How to do that?
You can't easily do that. However the error messages are of course a bug
and IIRC there's a bug report for this. Most probably even on the 2.4
Gimp-developer mailing list