diff -up gnome-web-photo-0.9/src/Writer.cpp.renderdoc gnome-web-photo-0.9/src/Writer.cpp --- gnome-web-photo-0.9/src/Writer.cpp.renderdoc 2009-11-26 11:08:22.000000000 +0100 +++ gnome-web-photo-0.9/src/Writer.cpp 2009-11-26 11:16:21.000000000 +0100 @@ -197,7 +197,7 @@ Writer::Write() width = NSAppUnitsToIntPixels(cutout.width, p2a); height = NSAppUnitsToIntPixels(cutout.height, p2a); - rv = presShell->RenderDocument(cutout, PR_FALSE, PR_TRUE, + rv = presShell->RenderDocument(cutout, nsIPresShell::RENDER_IGNORE_VIEWPORT_SCROLLING, NS_RGB(255, 255, 255), context); if (NS_SUCCEEDED(rv)) { imgContext->DrawSurface(surface, gfxSize(width, height)); --- gnome-web-photo-0.9/m4/libxul.m4.orig 2009-04-20 17:43:33.000000000 +0200 +++ gnome-web-photo-0.9/m4/libxul.m4 2010-01-17 11:19:39.000000000 +0100 @@ -59,7 +59,7 @@ # I can figure this out, do it like this: libxul_cv_libdir="$($PKG_CONFIG --variable=sdkdir $libxul_cv_libxul_pkg)/bin" -libxul_cv_includes="$($PKG_CONFIG --cflags-only-I libxul-unstable libxul)" +libxul_cv_includes="$($PKG_CONFIG --cflags-only-I libxul)" AC_DEFINE([HAVE_LIBXUL],[1],[Define for libxul])