Re: [Gimp-developer] Hacking on the mail plugin

2009-10-05 Thread Sven Neumann
Hi, On Sun, 2009-10-04 at 16:59 -0500, Chris Mohler wrote: So, I've written a replacement plug-in that works pretty well. However, the only filetype supported is still .XCF. I don't quite understand where this limitation comes from. If you allow the user to enter any filename, then GIMP will

Re: [Gimp-developer] Hacking on the mail plugin

2009-10-04 Thread Sven Neumann
On Sat, 2009-10-03 at 21:27 -0500, Chris Mohler wrote: However, I can not for the life of me figure out why my call to g_spawn_async throws a segfault every time. Well, you pass it a pointer to xdgargs which was previously allocated on the stack like this: gchar *xdgargs[sizeof (gchar)];

Re: [Gimp-developer] Hacking on the mail plugin

2009-10-04 Thread Chris Mohler
On Sun, Oct 4, 2009 at 1:25 PM, Sven Neumann s...@gimp.org wrote: This should probably read  gchar *xdgargs[4]; (sorry forgot to reply-all) Oops (facepalm). Thanks. So, I've written a replacement plug-in that works pretty well. However, the only filetype supported is still .XCF. Looking

Re: [Gimp-developer] Hacking on the mail plugin

2009-10-04 Thread Chris Mohler
On Sun, Oct 4, 2009 at 4:59 PM, Chris Mohler cr33...@gmail.com wrote: Looking at the new api docs, it seems possible to raise a GimpDialog that contains something like a toggle for Native XCF or Export and also the new 'gimp_export_dialog_new' widget.  Does this sound reasonable? Also - is