From b162fa3da3ad47e8673d85e344803185206a1ed9 Mon Sep 17 00:00:00 2001 From: James Willcox Date: Mon, 30 Nov 2009 16:03:54 +0000 Subject: Revert "[R7] First pass at a port to xulrunner 1.9.1 (Firefox 3.5)" This reverts commit 782b00bb90a0952a5d0d110bf682607679741ee2. --- diff --git a/browser-plugin/scriptable.cpp b/browser-plugin/scriptable.cpp index 2542938..6c7e55c 100644 --- a/browser-plugin/scriptable.cpp +++ b/browser-plugin/scriptable.cpp @@ -283,15 +283,6 @@ ScriptablePluginObject::GetProperty (NPIdentifier name, NPVariant *result) } else if (name == mCanFindOnPageID) { BOOLEAN_TO_NPVARIANT (plugin->mCanFindOnPage, *result); return true; -#if !CAN_CALL_METHODS - // we have to respond to these in order for SetProperty to work - } else if (name == mFindTermsID) { - NULL_TO_NPVARIANT (*result); - return true; - } else if (name == mFindNextID || name == mFindPreviousID) { - INT32_TO_NPVARIANT (42, *result); - return true; -#endif } return false; -- cgit v0.9.1