Hi,

Currently in CVS HEAD, selecting the clone tool makes gimp segfault.
I don't understand all the issues, but this patch fix the segfault:
--- gimpclonetool.c     21 Apr 2002 07:30:53 -0000      1.90
+++ gimpclonetool.c     24 Apr 2002 19:44:42 -0000
@@ -172,13 +172,13 @@
                                           GIMP_CURSOR_MODIFIER_NONE   /* 
toggle_cursor_modifier */);


-  clone_core->init_callback      = gimp_clone_init_callback;
+/*  clone_core->init_callback      = gimp_clone_init_callback;
   clone_core->finish_callback    = gimp_clone_finish_callback;
   clone_core->pretrace_callback  = gimp_clone_pretrace_callback;
   clone_core->posttrace_callback = gimp_clone_posttrace_callback;
-  clone_core->callback_data      = clone;
+  clone_core->callback_data      = clone;*/

-  paint_tool->core = GIMP_PAINT_CORE (clone_core);
+  paint_tool->core = g_object_new (GIMP_TYPE_CLONE, NULL);
 }

 static void
---------------------------------------------------------------------

Can I commit, or is someone else working on this?

      Regards,
       
                DindinX

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

Reply via email to