[Kazehakase-cvs] CVS update: kazehakase/src/mozilla

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
Thu Apr 20 11:08:45 JST 2006


Index: kazehakase/src/mozilla/kz-mozembed.cpp
diff -u kazehakase/src/mozilla/kz-mozembed.cpp:1.197 kazehakase/src/mozilla/kz-mozembed.cpp:1.198
--- kazehakase/src/mozilla/kz-mozembed.cpp:1.197	Thu Feb 23 22:30:57 2006
+++ kazehakase/src/mozilla/kz-mozembed.cpp	Thu Apr 20 11:08:45 2006
@@ -519,7 +519,9 @@
 #endif
 	priv->last_highlight = NULL;
 	priv->first_url      = NULL;
+#ifndef HAVE_GECKO_1_8
 	kz_moz_embed_load_url(KZ_EMBED(kzembed), "about:blank");
+#endif
 }
 
 GtkWidget *
@@ -540,7 +542,9 @@
 	// After "about:balnk" was loaded, the first url start to load.  
 	if (url)
 		priv->first_url = g_strdup(url);
-	//kz_moz_embed_load_url(KZ_EMBED(kzembed), url);
+#ifdef HAVE_GECKO_1_8
+	kz_moz_embed_load_url(KZ_EMBED(kzembed), url);
+#endif
 
 	return GTK_WIDGET(kzembed);
 }
@@ -709,8 +713,9 @@
 		return;
 	}
 	else
+	{
 		gtk_moz_embed_load_url(GTK_MOZ_EMBED(kzembed), start_page);
-	
+	}
 	if (mozembed->location)
 		g_free(mozembed->location);
 	mozembed->location = start_page;


More information about the Kazehakase-cvs mailing list
Back to archive index