On Thu, Oct 22, 2009 at 5:11 PM, Claudio Saavedra <csaave...@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@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
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers