>
>I don't understand your call to gimp_layer_new. Its arguments should be:
>
>gimp_layer_new (GimpImage            *image,
>                 gint                  width,
>                 gint                  height,
>                 GimpImageType         type,
>                 const gchar          *name,
>                 gdouble               opacity,
>                 GimpLayerModeEffects  mode)
>

really not:

gint32      gimp_layer_new                  (gint32 image_ID,
                                             const gchar *name,
                                             gint width,
                                             gint height,
                                             GimpImageType type,
                                             gdouble opacity,
                                             GimpLayerModeEffects mode);

i use the color's scheme name as layer name.
-- 
View this message in context: 
http://www.nabble.com/gimp_drawable_get_image-fails--tf3564957.html#a10031347
Sent from the Gimp Developer mailing list archive at Nabble.com.

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

Reply via email to