Libxfce4ui spawn api break

Nick Schermer nickschermer at gmail.com
Mon Nov 2 12:41:08 CET 2009


2009/11/2 Nick Schermer <nickschermer at gmail.com>:
> Well right now it's only 1 place where we need it, but it's not
> uncommon to watch a child. Not that I agree we should add a lot of api
> for it, but still.
>
> Another option would be a function that returns the XfceSpawnData on
> succeed. Normally we free the data when the spawn is completed, but as
> an alternative we could not free the data and leave that to the owner
> (when the _full function is called).

I've put this into a more readable version here:
http://foo-projects.org/~nick/tmp/xfce-spawn-api-sample.c

Note that i removed the envp from xfce_spawn_on_screen, this is something
we rarely use, not sure, passing NULL is not a lot of work either.

Nick



More information about the Xfce4-dev mailing list