[Goodies-dev] Help for debugging a GIO issue with xfce4-screenshooter

Mike Massonnet mmassonnet at gmail.com
Thu Mar 12 21:37:45 CET 2009

In the test program, you should start the main loop after you start to
copy, or use gtk_dialog_run instead of show.

Btw, the screenshooter should upload only one image after a capture,
so I think it shouldn't need an async copy.

Sorry, I have no time to test your program however.

2009/3/12 Jérôme Guelfucci <jerome.guelfucci at gmail.com>:
> Hello,
> I ported Xfce4 Screenshooter to use GIO to be able to save screenshots to
> remote locations. Unfortunately, the function to copy a screenshot to a
> remote location does not work: the copying does not even start and no error
> or warning is reported.
> I created a testing code sample which uses the same code and I get a neasty
> segfault, gdb and core dump do no give be any helpful indication. I don't
> really understand why it segfaults here and not in Xfce4 Screenshooter. It
> seems I'm not using g_file_copy_async correctly in both cases...
> The code for the test is available here:
> http://pocentek.net/~jeromeg/code/test.c . The code in Xfce4 Screenshooter
> is available in trunk.
> If someone has an idea or a hint on what I'm doing wrong, he is more than
> welcome! Thanks in advance!
> Cheers,
> Jérôme
> _______________________________________________
> Goodies-dev mailing list
> Goodies-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/goodies-dev

More information about the Goodies-dev mailing list