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

From: Luca Donaggio donaggio at gmail.com
Date: Thu Oct 22 18:16:19 EEST 2009
On Thu, Oct 22, 2009 at 5:11 PM, Claudio Saavedra <csaavedra at igalia.com>wrote:

> 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 at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>

Thanks for the tip Claudio, but no, I'm using a reference to the main app
window (a HildonWindow), and I'm using g_signal_connect() which should call
my callback function before the default signal handlers.

Luca Donaggio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20091022/bb5b6bd3/attachment.htm 
More information about the maemo-developers mailing list