From f196eb264e4ce8c37fdd169f5d7c7c02f158d6a4 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Mon, 29 Jan 2007 20:44:17 +0100 Subject: [PATCH] Reverted mistake on last commit. --- lib/src/sugar-browser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/sugar-browser.cpp b/lib/src/sugar-browser.cpp index b4ac8586..8d49c001 100644 --- a/lib/src/sugar-browser.cpp +++ b/lib/src/sugar-browser.cpp @@ -372,6 +372,7 @@ sugar_browser_scroll_pixels(SugarBrowser *browser, int dx, int dy) { +#ifndef HAVE_GECKO_1_9 nsCOMPtr webBrowser; gtk_moz_embed_get_nsIWebBrowser (GTK_MOZ_EMBED(browser), getter_AddRefs(webBrowser)); @@ -389,6 +390,7 @@ sugar_browser_scroll_pixels(SugarBrowser *browser, NS_ENSURE_TRUE (DOMWindow, ); DOMWindow->ScrollBy (dx, dy); +#endif } void