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

« back to all changes in this revision

Viewing changes to src/plugin-save-dispspec.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:
89
89
        }
90
90
 
91
91
        xml = cong_dispspec_make_xml(cong_document_get_default_dispspec(doc));
92
 
        xmlCreateIntSubset(xml, "dispspec", NULL, "dispspec.dtd");
 
92
        xmlCreateIntSubset (xml, 
 
93
                            (const xmlChar*)"dispspec", 
 
94
                            NULL, 
 
95
                            (const xmlChar*)"dispspec.dtd");
93
96
        xmlSaveFormatFile(new_doc_name, xml, TRUE);
94
97
 
95
98
        /* FIXME: does this leak xml? */
111
114
        doc = cong_primary_window_get_document(primary_window);
112
115
 
113
116
        xml = cong_dispspec_make_xml(cong_document_get_default_dispspec(doc));
114
 
        xmlCreateIntSubset(xml, "dispspec", NULL, "dispspec.dtd");
 
117
        xmlCreateIntSubset (xml, 
 
118
                            (const xmlChar*)"dispspec", 
 
119
                            NULL, 
 
120
                            (const xmlChar*)"dispspec.dtd");
115
121
#if 1
116
122
        cong_ui_new_document_from_imported_xml(xml,
117
123
                                               cong_primary_window_get_toplevel(primary_window));