[kazehakase-svn] [3196] * module/embed/gtk-webcore/kz-gtk-webcore.cpp: Load URL after creating

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Sun Apr 15 07:48:48 JST 2007


Revision: 3196
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3196
Author:   ikezoe
Date:     2007-04-15 07:48:47 +0900 (Sun, 15 Apr 2007)

Log Message:
-----------
* module/embed/gtk-webcore/kz-gtk-webcore.cpp: Load URL after creating
a new Webi.

Modified Paths:
--------------
    kazehakase/trunk/ChangeLog
    kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp

Modified: kazehakase/trunk/ChangeLog
===================================================================
--- kazehakase/trunk/ChangeLog	2007-04-14 15:28:36 UTC (rev 3195)
+++ kazehakase/trunk/ChangeLog	2007-04-14 22:48:47 UTC (rev 3196)
@@ -1,3 +1,8 @@
+2007-04-15  Hiroyuki Ikezoe  <poinc****@ikezo*****>
+
+	* module/embed/gtk-webcore/kz-gtk-webcore.cpp: Load URL after creating
+	a new Webi.
+
 2007-04-15  Kouhei Sutou  <kou****@cozmi*****>
 
 	* ext/ruby/kz-rb-ext.c (kz_rb_ext_init): used kz_app_get() instead

Modified: kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp
===================================================================
--- kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp	2007-04-14 15:28:36 UTC (rev 3195)
+++ kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp	2007-04-14 22:48:47 UTC (rev 3196)
@@ -789,12 +789,13 @@
 static Webi *
 kz_gtk_webcore_req_new_window (Webi *webi, const gchar *url)
 {
-	Webi *newgtk_webcore = NULL;
+	Webi *new_gtk_webcore = NULL;
 	g_return_val_if_fail(KZ_IS_GTK_WEBCORE(webi), NULL);
 	
-	g_signal_emit_by_name(webi, "kz-new-window", &newgtk_webcore);
+	g_signal_emit_by_name(webi, "kz-new-window", &new_gtk_webcore);
+	webi_load_url(new_gtk_webcore, url);
 
-	return newgtk_webcore;
+	return new_gtk_webcore;
 }
 
 static void




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