Re: enhancement: warnings instead of fatal error for duplicate calls to gimp_env_init

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

 



On Tue, 2010-03-02 at 08:01 -0500, lloyd konneker wrote:
> Yes, I will submit a proper patch.  I'm new but I can figure it out.
> 
> I mainly wanted to get feedback whether it was desirable.  I'm not clear
> when a discussion of an enhancement should move to Bugzilla.
> 
> More testing reveals other issues and test cases:
> 
> First, most plugins have unguarded calls to register(), so importing
> some plugins from a plugin ends up reregistering a plugin, with a
> warning to stderr from the Gimp PDB but apparently harmlessly.  I'm
> still exploring, eg whether the order in which plugins are loaded
> matters, whether the warning is only for local plugins, whether Gimp
> supports multiple registrations of different plugins from the same
> Python source, etc.  

I wonder if importing a plug-in from another plug-in is really something
that we want to support. If the goal is to share code, then perhaps the
code that is worth sharing should be factored out into a Python module
that the plug-ins can import.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux