[maemo-developers] Screenshot as loading screen on Maemo 5

From: Claudio Saavedra csaavedra at igalia.com
Date: Thu Oct 22 18:11:10 EEST 2009
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).


More information about the maemo-developers mailing list