aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@svn.gnome.org>2007-02-23 22:21:53 +0800
committerChristian Persch <chpe@src.gnome.org>2007-02-23 22:21:53 +0800
commit34666b847a89acd214f026744e5ff6efb42b1fdc (patch)
tree4753c1025bab7c8478a085d7bbfe0a89644db804 /embed
parent1d25a1cd101ad3459032774ee60e0c74f86fa3d5 (diff)
downloadgsoc2013-epiphany-34666b847a89acd214f026744e5ff6efb42b1fdc.tar
gsoc2013-epiphany-34666b847a89acd214f026744e5ff6efb42b1fdc.tar.gz
gsoc2013-epiphany-34666b847a89acd214f026744e5ff6efb42b1fdc.tar.bz2
gsoc2013-epiphany-34666b847a89acd214f026744e5ff6efb42b1fdc.tar.lz
gsoc2013-epiphany-34666b847a89acd214f026744e5ff6efb42b1fdc.tar.xz
gsoc2013-epiphany-34666b847a89acd214f026744e5ff6efb42b1fdc.tar.zst
gsoc2013-epiphany-34666b847a89acd214f026744e5ff6efb42b1fdc.zip
What's this? Another mozilla API change!
2007-02-23 Christian Persch <chpe@svn.gnome.org> * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: What's this? Another mozilla API change! svn path=/trunk/; revision=6916
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/EphyFind.cpp7
-rw-r--r--embed/mozilla/EphyFind.h1
2 files changed, 1 insertions, 7 deletions
diff --git a/embed/mozilla/EphyFind.cpp b/embed/mozilla/EphyFind.cpp
index 222647506..841bf83cc 100644
--- a/embed/mozilla/EphyFind.cpp
+++ b/embed/mozilla/EphyFind.cpp
@@ -66,7 +66,6 @@ static const PRUnichar kKeyPress[] = { 'k', 'e', 'y', 'p', 'r', 'e', 's', 's', '
EphyFind::EphyFind ()
: mCurrentEmbed(nsnull)
, mAttention(PR_FALSE)
-, mHasFocus(PR_FALSE) /* FIXME!! */
{
LOG ("EphyFind ctor [%p]", this);
}
@@ -188,11 +187,7 @@ EphyFind::Find (const char *aSearchString,
nsresult rv;
PRUint16 found = nsITypeAheadFind::FIND_NOTFOUND;
-#ifdef HAVE_GECKO_1_9
- rv = mFinder->Find (uSearchString, aLinksOnly, mHasFocus, &found);
-#else
rv = mFinder->Find (uSearchString, aLinksOnly, &found);
-#endif
return (EphyEmbedFindResult) found;
}
@@ -208,7 +203,7 @@ EphyFind::FindAgain (PRBool aForward,
nsresult rv;
PRUint16 found = nsITypeAheadFind::FIND_NOTFOUND;
#ifdef HAVE_GECKO_1_9
- rv = mFinder->FindAgain (!aForward, aLinksOnly, mHasFocus, &found);
+ rv = mFinder->FindAgain (!aForward, aLinksOnly, &found);
#else
if (aForward) {
rv = mFinder->FindNext (&found);
diff --git a/embed/mozilla/EphyFind.h b/embed/mozilla/EphyFind.h
index dbbb18483..a7ab7d36b 100644
--- a/embed/mozilla/EphyFind.h
+++ b/embed/mozilla/EphyFind.h
@@ -55,7 +55,6 @@ class EphyFind
nsCOMPtr<nsITypeAheadFind> mFinder;
PRPackedBool mAttention;
- PRPackedBool mHasFocus;
};
#endif /* !TYPEAHEADFIND_H */