[kazehakase-svn] [3132] * module/embed/gecko/kz-gecko-embed.cpp: Remove

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
Wed Apr 4 10:11:29 JST 2007


Revision: 3132
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3132
Author:   ikezoe
Date:     2007-04-04 10:11:29 +0900 (Wed, 04 Apr 2007)

Log Message:
-----------
* module/embed/gecko/kz-gecko-embed.cpp: Remove
kz_gecko_embed_get_up_location().

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

Modified: kazehakase/trunk/ChangeLog
===================================================================
--- kazehakase/trunk/ChangeLog	2007-04-04 01:08:45 UTC (rev 3131)
+++ kazehakase/trunk/ChangeLog	2007-04-04 01:11:29 UTC (rev 3132)
@@ -14,6 +14,8 @@
 	* module/embed/gecko/kz-gecko-single.cpp,
 	module/embed/gtk-webcore/kz-gtk-webcore.cpp: Use
 	kz_utils_get_system_name.
+	* module/embed/gecko/kz-gecko-embed.cpp: Remove
+	kz_gecko_embed_get_up_location().
 	
 2007-04-03  Hiroyuki Ikezoe  <poinc****@ikezo*****>
 

Modified: kazehakase/trunk/module/embed/gecko/kz-gecko-embed.cpp
===================================================================
--- kazehakase/trunk/module/embed/gecko/kz-gecko-embed.cpp	2007-04-04 01:08:45 UTC (rev 3131)
+++ kazehakase/trunk/module/embed/gecko/kz-gecko-embed.cpp	2007-04-04 01:11:29 UTC (rev 3132)
@@ -2363,30 +2363,6 @@
 	return flags;
 }
 
-static gchar *
-kz_gecko_embed_get_up_location(KzGeckoEmbed *kzembed)
-{
-	const gchar *location;
-	gchar *up_location = NULL;
-	gchar *pos, *dummy;
-	int len; 
-
-	location = kz_gecko_embed_get_location(KZ_EMBED(kzembed));
-	if (!location)
-		return NULL;
-
-	len = strlen(location);
-	if (location[len - 1] == '/')
-		dummy = g_strndup(location, len - 1);
-	else 
-		dummy = g_strndup(location, len);
-	pos =  strrchr(dummy, '/');
-	if (pos)
-		up_location = g_strndup(dummy, pos - dummy + 1);
-	g_free(dummy);
-	return up_location;
-}
-
 static void
 kz_gecko_embed_reload (KzEmbed *kzembed, KzEmbedReloadFlag flags)
 {




More information about the Kazehakase-cvs mailing list
アーカイブの一覧に戻る