El jue, 22-10-2009 a las 16:57 +0200, Luca Donaggio escribió:
> 
> I'm resuming an old thread, sorry!
> 
> If I call hildon_gtk_window_take_screenshot() within the callback
> function for the delete-event of the main app, just before
> gtk_main_quit(), it seems that something has already happened to the
> main window: it complains that it is not a GtkWindow (which usually
> is, as HildonWindow derives from it), but a GdkWindow, and, of course,
> no screenshot were taken.

Are you sure you are passing the right window to the function?
event->window is not the one (just in case).

Claudio


_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to