Christian Dywan wrote:
While that might fix the problem, hardcoding arbitrary values is not exactly advisable. It should be interesting to figure out what causes this function to fail in the first place.
The answer lies in the documentation for gdk_screen_get_resolution(): Returns: the current resolution, or -1 if no resolution has been set. So Sriram's patch is absolutely correct (coding-style issues aside). _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo/webkit-dev

