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

« back to all changes in this revision

Viewing changes to src/cong-dom-view.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:
247
247
                text = g_strdup_printf("ATTRIBUTE");
248
248
                break;          
249
249
        case CONG_NODE_TYPE_TEXT:
250
 
                cleaned_text = clean_text(node->content);
 
250
                cleaned_text = clean_text((const gchar*)node->content);
251
251
                text = g_strdup_printf("%s \"<span foreground=\"%s\">%s</span>\"", 
252
252
                                       _("Text:"), colour_string, cleaned_text);
253
253
                g_free(cleaned_text);
254
254
                break;
255
255
        case CONG_NODE_TYPE_CDATA_SECTION:
256
 
                cleaned_text = clean_text(node->content);
 
256
                cleaned_text = clean_text((const gchar*)node->content);
257
257
                text = g_strdup_printf("%s \"<span foreground=\"%s\">%s</span>\"", 
258
258
                                       _("CDATA:"), colour_string, cleaned_text);
259
259
                g_free(cleaned_text);
268
268
                text = g_strdup_printf("PI");
269
269
                break;
270
270
        case CONG_NODE_TYPE_COMMENT:
271
 
                cleaned_text = clean_text(node->content);
 
271
                cleaned_text = clean_text((const gchar*)node->content);
272
272
                text = g_strdup_printf("<span foreground=\"%s\">&lt;!-- %s --&gt;</span>", colour_string, cleaned_text);
273
273
                g_free(cleaned_text);
274
274
                break;