diff options
author | Benjamin Otte <otte@redhat.com> | 2020-07-24 20:40:36 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-07-25 00:47:36 +0200 |
commit | d375dce9f52fd9830069a6fd9287abde93d3f24b (patch) | |
tree | cd759ec130e07189ab7f19ebd03b8e89923aaa7f /gtk/gtktextbtree.c | |
parent | d7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (diff) | |
download | gtk+-d375dce9f52fd9830069a6fd9287abde93d3f24b.tar.gz |
Replace "gchar" with "char"
Diffstat (limited to 'gtk/gtktextbtree.c')
-rw-r--r-- | gtk/gtktextbtree.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c index 37ab1fe77b..662acb3c5e 100644 --- a/gtk/gtktextbtree.c +++ b/gtk/gtktextbtree.c @@ -1092,7 +1092,7 @@ _gtk_text_btree_delete (GtkTextIter *start, void _gtk_text_btree_insert (GtkTextIter *iter, - const gchar *text, + const char *text, int len) { GtkTextLineSegment *prev_seg; /* The segment just before the first @@ -2406,7 +2406,7 @@ copy_segment (GString *string, } } -gchar* +char * _gtk_text_btree_get_text (const GtkTextIter *start_orig, const GtkTextIter *end_orig, gboolean include_hidden, @@ -2415,7 +2415,7 @@ _gtk_text_btree_get_text (const GtkTextIter *start_orig, GtkTextLineSegment *seg; GtkTextLineSegment *end_seg; GString *retval; - gchar *str; + char *str; GtkTextIter iter; GtkTextIter start; GtkTextIter end; @@ -2717,7 +2717,7 @@ ensure_not_off_end (GtkTextBTree *tree, static GtkTextLineSegment* real_set_mark (GtkTextBTree *tree, GtkTextMark *existing_mark, - const gchar *name, + const char *name, gboolean left_gravity, const GtkTextIter *where, gboolean should_exist, @@ -2846,7 +2846,7 @@ real_set_mark (GtkTextBTree *tree, GtkTextMark* _gtk_text_btree_set_mark (GtkTextBTree *tree, GtkTextMark *existing_mark, - const gchar *name, + const char *name, gboolean left_gravity, const GtkTextIter *iter, gboolean should_exist) @@ -2936,7 +2936,7 @@ _gtk_text_btree_select_range (GtkTextBTree *tree, void _gtk_text_btree_remove_mark_by_name (GtkTextBTree *tree, - const gchar *name) + const char *name) { GtkTextMark *mark; @@ -3017,7 +3017,7 @@ _gtk_text_btree_get_selection_bound (GtkTextBTree *tree) GtkTextMark* _gtk_text_btree_get_mark_by_name (GtkTextBTree *tree, - const gchar *name) + const char *name) { GtkTextLineSegment *seg; @@ -7168,7 +7168,7 @@ _gtk_text_btree_spew (GtkTextBTree *tree) void _gtk_text_btree_spew_line_short (GtkTextLine *line, int indent) { - gchar * spaces; + char * spaces; GtkTextLineSegment *seg; spaces = g_strnfill (indent, ' '); @@ -7183,8 +7183,8 @@ _gtk_text_btree_spew_line_short (GtkTextLine *line, int indent) { if (seg->type == >k_text_char_type) { - gchar* str = g_strndup (seg->body.chars, MIN (seg->byte_count, 10)); - gchar* s; + char * str = g_strndup (seg->body.chars, MIN (seg->byte_count, 10)); + char * s; s = str; while (*s) { @@ -7226,7 +7226,7 @@ _gtk_text_btree_spew_line_short (GtkTextLine *line, int indent) void _gtk_text_btree_spew_node (GtkTextBTreeNode *node, int indent) { - gchar * spaces; + char * spaces; GtkTextBTreeNode *iter; Summary *s; @@ -7293,7 +7293,7 @@ _gtk_text_btree_spew_segment (GtkTextBTree* tree, GtkTextLineSegment * seg) if (seg->type == >k_text_char_type) { - gchar* str = g_strndup (seg->body.chars, seg->byte_count); + char * str = g_strndup (seg->body.chars, seg->byte_count); printf (" '%s'\n", str); g_free (str); } |