Pals,

    I am feeling so silly in trying to develop a plugin...
I am stalling even at the most easy tasks.

    Now, I just want to blur my drawable from my plugin.
I tried this:

      GimpParam *rreturn_vals;
      gint nnreturn_vals;
      rreturn_vals = gimp_run_procedure("plug_in_blur", &nnreturn_vals,
              GIMP_PDB_INT32, GIMP_RUN_NONINTERACTIVE,
              GIMP_PDB_IMAGE, param[1].data.d_image,
              GIMP_PDB_DRAWABLE, gimp_drawable_get (param[2].data.d_drawable),
                  GIMP_PDB_END);

However, I get the following error:

    Procedure 'plug-in-blur' has been called with an invalid ID for
    argument 'drawable'. Most likely a plug-in is trying to work on a
    layer that doesn't exist any longer.

What am I doing wrong?

    Sorry for the silly questions........ and thanks!

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

Reply via email to