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)];

This should probably read

  gchar *xdgargs[4];

instead, since you want to store three arguments plus a trailing NULL.

And please make sure that you convert your tabs to spaces before you
submit your patch. Thanks.


Gimp-developer mailing list

Reply via email to