Quoting Axel Simon <axel.si...@in.tum.de>: > I can tell you what is happening, if that helps.
Thanks, any hints are much appreciated. =) > I suspect that c2hs translates gtk_print_operation_run such that it > expects a Ptr () instead of a GtkWindow. The reason is that c2hs has > not seen the typedef of GtkWindow, probably due to not finding it in > the big header file it parses or, more likely, it doesn't read in > the .chi file that holds this mapping. So maybe there is a reason > why the .chi file isn't generated or not read. I can't actually > remember how it all works. I think .chs files are sorted > topologically by their dependency and the first one will create the > cache file that holds the parsed result of the big header file that > is afterwards read by all other invocations of c2hs. Maybe there is > a cycle in the dependencies? Which big header file are you referring to here? I looked briefly at: gtk/hierarchy.list gtk/dist/build/G/U/G/P/PrintOperation_stub.h gtk/hsgtk.h ...but none of them had typedefs inside. ~d ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel