diff options
author | Christian Persch <chpe@svn.gnome.org> | 2007-02-23 22:21:53 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2007-02-23 22:21:53 +0800 |
commit | 34666b847a89acd214f026744e5ff6efb42b1fdc (patch) | |
tree | 4753c1025bab7c8478a085d7bbfe0a89644db804 | |
parent | 1d25a1cd101ad3459032774ee60e0c74f86fa3d5 (diff) | |
download | gsoc2013-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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/EphyFind.cpp | 7 | ||||
-rw-r--r-- | embed/mozilla/EphyFind.h | 1 |
3 files changed, 8 insertions, 7 deletions
@@ -1,3 +1,10 @@ +2007-02-23 Christian Persch <chpe@svn.gnome.org> + + * embed/mozilla/EphyFind.cpp: + * embed/mozilla/EphyFind.h: + + What's this? Another mozilla API change! + 2007-02-12 Christian Persch <chpe@svn.gnome.org> * configure.ac: 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 */ |