[Nautilus-list] [patch] problem compling nautilus-1.0.6-12.src.rpm on mozilla-1.0rc1



Hi!

I have had the problem compiling nautilus-1.0.6 on mozilla-1.0rc1.
Then this patch fix the problem.

Kaoru


diff -urN base/components/mozilla/mozilla-events.cpp fixed/components/mozilla/mozilla-events.cpp
--- base/components/mozilla/mozilla-events.cpp	Tue Oct 16 01:25:17 2001
+++ fixed/components/mozilla/mozilla-events.cpp	Tue Apr 23 02:44:30 2002
@@ -355,7 +355,7 @@
 
 /* Why can't I use GetElementsByTagName?  I couldn't get it to work for me */
 static nsIDOMNode *
-get_anchor_named (nsIDOMNode *top_node, const nsAReadableString& aName)
+get_anchor_named (nsIDOMNode *top_node, const nsAString &aName)
 {
 	nsresult rv;
 	nsAutoString src_string;
@@ -565,7 +565,7 @@
 
 /* Why can't I use GetElementsByTagName?  I couldn't get it to work for me */
 static gboolean
-find_node_named_with_src (nsIDOMNode *top_node, const nsAReadableString& aName, const nsAReadableString& uri)
+find_node_named_with_src (nsIDOMNode *top_node, const nsAString& aName, const nsAString& uri)
 {
 	nsresult rv;
 	nsAutoString src_string;






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]