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

« back to all changes in this revision

Viewing changes to src/cong-debug-log-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:
178
178
log_set_text (CongDebugLogViewDetails *details, 
179
179
              gboolean before_event, 
180
180
              CongNodePtr node, 
181
 
              const xmlChar *new_content)
 
181
              const gchar *new_content)
182
182
183
183
        gchar *node_name = cong_node_get_path(node);
184
184
        gchar *cleaned_text = cong_util_cleanup_text(new_content);
205
205
                   gboolean before_event, 
206
206
                   CongNodePtr node, 
207
207
                   xmlNs *ns_ptr, 
208
 
                   const xmlChar *name, 
209
 
                   const xmlChar *value) 
 
208
                   const gchar *name, 
 
209
                   const gchar *value) 
210
210
211
211
        gchar *qualified_name = cong_util_get_qualified_attribute_name(ns_ptr, name);
212
212
        gchar *node_name = cong_node_get_path(node);
234
234
                      gboolean before_event, 
235
235
                      CongNodePtr node, 
236
236
                      xmlNs *ns_ptr, 
237
 
                      const xmlChar *name)
 
237
                      const gchar *name)
238
238
239
239
        gchar *qualified_name = cong_util_get_qualified_attribute_name(ns_ptr, name);
240
240
        gchar *node_name = cong_node_get_path(node);
281
281
static void on_document_node_add_after(CongView *view, gboolean before_event, CongNodePtr node, CongNodePtr older_sibling);
282
282
static void on_document_node_add_before(CongView *view, gboolean before_event, CongNodePtr node, CongNodePtr younger_sibling);
283
283
static void on_document_node_set_parent(CongView *view, gboolean before_event, CongNodePtr node, CongNodePtr adoptive_parent, gboolean add_to_end);
284
 
static void on_document_node_set_text(CongView *view, gboolean before_event, CongNodePtr node, const xmlChar *new_content);
285
 
static void on_document_node_set_attribute(CongView *view, gboolean before_event, CongNodePtr node, xmlNs *ns_ptr, const xmlChar *name, const xmlChar *value);
286
 
static void on_document_node_remove_attribute(CongView *view, gboolean before_event, CongNodePtr node, xmlNs *ns_ptr, const xmlChar *name);
 
284
static void on_document_node_set_text(CongView *view, gboolean before_event, CongNodePtr node, const gchar *new_content);
 
285
static void on_document_node_set_attribute(CongView *view, gboolean before_event, CongNodePtr node, xmlNs *ns_ptr, const gchar *name, const gchar *value);
 
286
static void on_document_node_remove_attribute(CongView *view, gboolean before_event, CongNodePtr node, xmlNs *ns_ptr, const gchar *name);
287
287
static void on_selection_change(CongView *view);
288
288
static void on_cursor_change(CongView *view);
289
289
 
352
352
        log_set_parent (details, before_event, node, adoptive_parent, add_to_end);
353
353
}
354
354
 
355
 
static void on_document_node_set_text(CongView *view, gboolean before_event, CongNodePtr node, const xmlChar *new_content)
 
355
static void on_document_node_set_text(CongView *view, gboolean before_event, CongNodePtr node, const gchar *new_content)
356
356
{
357
357
        CongDebugLogView *debug_log_view;
358
358
        CongDebugLogViewDetails* details;
368
368
        log_set_text (details, before_event, node, new_content);
369
369
}
370
370
 
371
 
static void on_document_node_set_attribute(CongView *view, gboolean before_event, CongNodePtr node, xmlNs *ns_ptr, const xmlChar *name, const xmlChar *value)
 
371
static void on_document_node_set_attribute(CongView *view, gboolean before_event, CongNodePtr node, xmlNs *ns_ptr, const gchar *name, const gchar *value)
372
372
{
373
373
        CongDebugLogView *debug_log_view;
374
374
        CongDebugLogViewDetails* details;
385
385
        log_set_attribute (details, before_event, node, ns_ptr, name, value);
386
386
}
387
387
 
388
 
static void on_document_node_remove_attribute(CongView *view, gboolean before_event, CongNodePtr node, xmlNs *ns_ptr, const xmlChar *name)
 
388
static void on_document_node_remove_attribute(CongView *view, gboolean before_event, CongNodePtr node, xmlNs *ns_ptr, const gchar *name)
389
389
{
390
390
        CongDebugLogView *debug_log_view;
391
391
        CongDebugLogViewDetails* details;
593
593
 
594
594
static void on_signal_set_text_notify_before (CongDocument *doc, 
595
595
                                       CongNodePtr node, 
596
 
                                       const xmlChar *new_content, 
 
596
                                       const gchar *new_content, 
597
597
                                       gpointer user_data) 
598
598
599
599
        CongDebugLogViewDetails *details = (CongDebugLogViewDetails*)user_data; 
604
604
static void on_signal_set_attribute_notify_before (CongDocument *doc, 
605
605
                                                   CongNodePtr node, 
606
606
                                                   xmlNs *ns_ptr,
607
 
                                                   const xmlChar *name, 
608
 
                                                   const xmlChar *value, 
 
607
                                                   const gchar *name, 
 
608
                                                   const gchar *value, 
609
609
                                                   gpointer user_data) 
610
610
611
611
        CongDebugLogViewDetails *details = (CongDebugLogViewDetails*)user_data; 
616
616
static void on_signal_remove_attribute_notify_before (CongDocument *doc, 
617
617
                                                      CongNodePtr node, 
618
618
                                                      xmlNs *ns_ptr,
619
 
                                                      const xmlChar *name, 
 
619
                                                      const gchar *name, 
620
620
                                                      gpointer user_data) 
621
621
622
622
        CongDebugLogViewDetails *details = (CongDebugLogViewDetails*)user_data; 
700
700
 
701
701
static void on_signal_set_text_notify_after (CongDocument *doc, 
702
702
                                       CongNodePtr node, 
703
 
                                       const xmlChar *new_content, 
 
703
                                       const gchar *new_content, 
704
704
                                       gpointer user_data) 
705
705
706
706
        CongDebugLogViewDetails *details = (CongDebugLogViewDetails*)user_data; 
711
711
static void on_signal_set_attribute_notify_after (CongDocument *doc, 
712
712
                                                  CongNodePtr node, 
713
713
                                                  xmlNs *ns_ptr,
714
 
                                                  const xmlChar *name, 
715
 
                                                  const xmlChar *value, 
 
714
                                                  const gchar *name, 
 
715
                                                  const gchar *value, 
716
716
                                                  gpointer user_data) 
717
717
718
718
        CongDebugLogViewDetails *details = (CongDebugLogViewDetails*)user_data; 
723
723
static void on_signal_remove_attribute_notify_after (CongDocument *doc, 
724
724
                                                     CongNodePtr node, 
725
725
                                                     xmlNs *ns_ptr,
726
 
                                                     const xmlChar *name, 
 
726
                                                     const gchar *name, 
727
727
                                                     gpointer user_data) 
728
728
729
729
        CongDebugLogViewDetails *details = (CongDebugLogViewDetails*)user_data;