Kouhei Sutou
kous****@users*****
2006年 11月 22日 (水) 13:10:02 JST
Index: tomoe/lib/tomoe-dict.c diff -u tomoe/lib/tomoe-dict.c:1.63 tomoe/lib/tomoe-dict.c:1.64 --- tomoe/lib/tomoe-dict.c:1.63 Wed Nov 22 00:54:25 2006 +++ tomoe/lib/tomoe-dict.c Wed Nov 22 13:10:02 2006 @@ -21,7 +21,7 @@ * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA * - * $Id: tomoe-dict.c,v 1.63 2006/11/21 15:54:25 makeinu Exp $ + * $Id: tomoe-dict.c,v 1.64 2006/11/22 04:10:02 kous Exp $ */ #include <stdio.h> @@ -57,8 +57,6 @@ char* filename; char* name; GPtrArray *letters; - xsltStylesheetPtr metaXsl; - char *meta_xsl_filename; gboolean editable; gboolean modified; @@ -672,13 +670,7 @@ /* read dictionary properties */ for (prop = root->properties; prop; prop = prop->next) { - if (0 == xmlStrcmp(prop->name, BAD_CAST "meta")) { - const char* metaxsl = (const char*) prop->children->content; - priv->meta_xsl_filename = g_strdup (metaxsl); - gchar *path = g_build_filename (TOMOEDATADIR, metaxsl, NULL); - priv->metaXsl = xsltParseStylesheetFile (BAD_CAST path); - g_free (path); - } else if (0 == xmlStrcmp(prop->name, BAD_CAST "name")) { + if (0 == xmlStrcmp(prop->name, BAD_CAST "name")) { priv->name = g_strdup ((const char*) prop->children->content); } }