summaryrefslogtreecommitdiff
path: root/saedit/main.c
diff options
context:
space:
mode:
authorVasily_Makarov <danilka.pro@gmail.com>2012-02-08 19:31:40 +0400
committerVasily_Makarov <danilka.pro@gmail.com>2012-02-08 19:31:40 +0400
commit6cef75a6df920f13a42b0ab17e2539aacc5e79e5 (patch)
treed1c55edd9d471d83d189d99b7c02598b4b2e3ed2 /saedit/main.c
parent1658a87e34715363a73e1b969c04595ca439d476 (diff)
downloadtools-6cef75a6df920f13a42b0ab17e2539aacc5e79e5.tar.gz
tools-6cef75a6df920f13a42b0ab17e2539aacc5e79e5.tar.bz2
tools-6cef75a6df920f13a42b0ab17e2539aacc5e79e5.tar.xz
tools-6cef75a6df920f13a42b0ab17e2539aacc5e79e5.zip
SAE: Removing dependencies of ibus
Diffstat (limited to 'saedit/main.c')
-rw-r--r--saedit/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/saedit/main.c b/saedit/main.c
index b6ef4e9..44cd48c 100644
--- a/saedit/main.c
+++ b/saedit/main.c
@@ -514,7 +514,7 @@ void load_options() {
void parse_xml_text(gchar *text, SAEInfo *sae_info) {
free_lists(sae_info);
- XMLNode *_root_node = ibus_xml_parse_buffer(text);
+ XMLNode *_root_node = xml_parse_buffer(text);
sae_info->root = _root_node;
if (_root_node == NULL) {
show_wrong_source_buffer_dialog();
@@ -529,7 +529,7 @@ void parse_xml_text(gchar *text, SAEInfo *sae_info) {
file_attr = g_strjoin(NULL, paths->sprites, file_attr, NULL);
gchar *buf;
if (g_file_get_contents(file_attr, &buf, NULL, NULL))
- _root_node->sub_nodes = g_list_concat(_root_node->sub_nodes, ibus_xml_parse_buffer(buf)->sub_nodes);
+ _root_node->sub_nodes = g_list_concat(_root_node->sub_nodes, xml_parse_buffer(buf)->sub_nodes);
}
if (list->next != NULL)
list = g_list_find_custom(list->next, "include", xml_node_compare_with_name_func);