Gimp::Net::gimp_main();

2000-08-14 Thread Filip Krska

   Hello,

do you know, what's wrong when my perl and Perl-Server says:

966258177: accepted unix connection
hilite: required callback 'net' not found (ERROR)
966258177: closing connection 11 (3 requests in 0 seconds)

in the moment of  execution of line

   Gimp::Net::gimp_main();

(in script "hilite" by Giray Devlet)?


Thanks a lot

Filip




Re: Gimp::Net::gimp_main();

2000-08-14 Thread Marc Lehmann

On Mon, Aug 14, 2000 at 03:23:33PM -0400, Filip Krska [EMAIL PROTECTED] wrote:
 do you know, what's wrong when my perl and Perl-Server says:

This just means that the script lacks some neccessary definitions.

Try this:

use Gimp ':auto";
Gimp::init;
... put your commands here

(and no Gimp::main)

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |