~ubuntu-branches/ubuntu/natty/libgdata/natty-updates

« back to all changes in this revision

Viewing changes to gdata/gdata-entry.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2011-01-05 11:09:00 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20110105110900-gkjnbslnr18s45us
Tags: 0.8.0-0ubuntu1
* New upstream release
* debian/control:
  - Use gir1.2 packages
  - Use standards version 3.9.1
  - Add Vcs-Bzr link
  - Rename libgdata10 to libgdata11
* debian/rules:
  - Drop simple-patchsys.mk
* debian/source:
  - Use source version 3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
493
493
 
494
494
        /* Add the entry's ETag, if available */
495
495
        if (gdata_entry_get_etag (GDATA_ENTRY (parsable)) != NULL)
496
 
                g_string_append_printf (xml_string, " gd:etag='%s'", priv->etag);
 
496
                gdata_parser_string_append_escaped (xml_string, " gd:etag='", priv->etag, "'");
497
497
}
498
498
 
499
499
static void
505
505
        gdata_parser_string_append_escaped (xml_string, "<title type='text'>", priv->title, "</title>");
506
506
 
507
507
        if (priv->id != NULL)
508
 
                g_string_append_printf (xml_string, "<id>%s</id>", priv->id);
 
508
                gdata_parser_string_append_escaped (xml_string, "<id>", priv->id, "</id>");
509
509
 
510
510
        if (priv->updated != -1) {
511
511
                gchar *updated = gdata_parser_int64_to_iso8601 (priv->updated);