Re: [Gimp-developer] Re: current gimp status and a patch for apply_lens.

2001-08-27 Thread Sven Neumann

Hi,

David Odin [EMAIL PROTECTED] writes:

   I'm using current HEAD cvs of the Gimp.
   I've seen that all the filter plugins which use a GTK interface are
  crashing. Is this a known bug and is this due to the switch to the
  version 2.0 of gtk+? Is there anything I can do to help fixing this?

yes, clean up your gimp installation. You obviously have old plug-ins
installed.

  I've notice that plugins use gtk_signal* fonctions while the gimp
  application (under the app directory) use g_signal* ones. This lets me
  think the plugins are not yet converted to use gtk+-2.0.

those that are in the current Makefiles should work. The gtk_signal_* 
functions are still OK, we just decided to totally switch to g_signal_*
in the core to avoid to gtk_signal_connect() to a GObject. The GUI code
in the plug-ins can continue to use gtk_signal_connect().

   To be more precise, here are the plugins I've seen crashed on
 invocation :
   - destripe,
   - NL filter,
   - gflare,
   - gimpressionist,
   - gfig,
   - gdyntext,
   - imagemap,
   - jpeg.

I haven't checked them all, but I think they have not yet been converted.
This means they won't get installed and you are calling old executable.

I'll look into your patch later...


Salut, Sven
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



Re: [Gimp-developer] Re: current gimp status and a patch for apply_lens.

2001-08-27 Thread Michael Natterer

David Odin [EMAIL PROTECTED] writes:

 On Sun, Aug 26, 2001 at 08:38:57PM +0200, David Odin wrote:
  
 Hi,
  
   I'm using current HEAD cvs of the Gimp.
   I've seen that all the filter plugins which use a GTK interface are
  crashing. Is this a known bug and is this due to the switch to the
  version 2.0 of gtk+? Is there anything I can do to help fixing this?
  
  I've notice that plugins use gtk_signal* fonctions while the gimp
  application (under the app directory) use g_signal* ones. This lets me
  think the plugins are not yet converted to use gtk+-2.0.
  
  If you can tell me what need to be changed for the migration, I'll be
  happy to fix all these plugins.
  
   To be more precise, here are the plugins I've seen crashed on
 invocation :
   - destripe,
   - NL filter,
   - gflare,
   - gimpressionist,
   - gfig,
   - gdyntext,
   - imagemap,
   - jpeg.

Hi David,

all the plug-ins you mention are currently excluded from CVS HEAD build
because we didn't get around fixing them (mostly GtkText - GtkTextView
migration needed). Seems you have old 1.2 plug-in binaries hanging around
which badly crash...

The ongoing presence og gtk_signal_foo() stuff in the plug-ins is
however perfectly ok, since gtk 2.0 offers wrappers around the new
GLib signal stuff. We will do some kind of perl mass processing of
the plug-ins at some point to remove this Gtk 1.2 compat cruft.

Any yes, patches to make them compile again are welcome :-)

ciao,
--Mitch
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer