~ubuntu-branches/ubuntu/maverick/conglomerate/maverick

« back to all changes in this revision

Viewing changes to src/plugin-arbitrary.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2005-11-08 05:07:06 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051108050706-bcg60nwqf1z3w0d6
Tags: 0.9.1-1ubuntu1
* Resynchronise with Debian (Closes: #4397).
  - Thanks, Jordan Mantha.

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
                                   1);
104
104
        
105
105
        gtk_text_buffer_set_text (arbitrary_gui->preview_text_buffer,
106
 
                                  doc_txt_ptr,
 
106
                                  (const gchar*)doc_txt_ptr,
107
107
                                  doc_txt_len); 
108
108
        xmlFree (doc_txt_ptr);
109
109
        xmlFreeDoc (xml_doc);
205
205
        g_assert (aci->ns_uri);
206
206
        g_assert (aci->local_name);
207
207
 
208
 
        xml_doc = xmlNewDoc ("1.0");
 
208
        xml_doc = xmlNewDoc ((const xmlChar*)"1.0");
209
209
 
210
210
        root_node = xmlNewDocNode (xml_doc,
211
211
                                   NULL,
212
 
                                   aci->local_name,
 
212
                                   (const xmlChar*)aci->local_name,
213
213
                                   NULL);
214
214
        if (aci->ns_uri[0]!='\0') {
215
215
                xmlNsPtr xml_ns = xmlNewNs (root_node, 
216
 
                                            aci->ns_uri, 
 
216
                                            (const xmlChar*)aci->ns_uri, 
217
217
                                            NULL);
218
218
                xmlSetNs (root_node, 
219
219
                          xml_ns);