[vte] Rename _vte_new_row_data_sized to _vte_new_row_data
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vte] Rename _vte_new_row_data_sized to _vte_new_row_data
- Date: Fri, 21 Aug 2009 16:20:36 +0000 (UTC)
commit 1904625c65d111a99e5920e6bc8121cb272ecc7b
Author: Behdad Esfahbod <behdad behdad org>
Date: Thu Aug 20 23:08:18 2009 -0400
Rename _vte_new_row_data_sized to _vte_new_row_data
src/vte-private.h | 2 +-
src/vte.c | 10 +++++-----
src/vteseq.c | 12 ++++++------
3 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/src/vte-private.h b/src/vte-private.h
index 2a27cf5..6c45c87 100644
--- a/src/vte-private.h
+++ b/src/vte-private.h
@@ -434,7 +434,7 @@ void _vte_invalidate_cells(VteTerminal *terminal,
glong row_start, gint row_count);
void _vte_invalidate_cell(VteTerminal *terminal, glong col, glong row);
void _vte_invalidate_cursor_once(VteTerminal *terminal, gboolean periodic);
-VteRowData * _vte_new_row_data_sized(VteTerminal *terminal, gboolean fill);
+VteRowData * _vte_new_row_data(VteTerminal *terminal, gboolean fill);
void _vte_terminal_adjust_adjustments(VteTerminal *terminal);
void _vte_terminal_queue_contents_changed(VteTerminal *terminal);
void _vte_terminal_emit_text_deleted(VteTerminal *terminal);
diff --git a/src/vte.c b/src/vte.c
index 6a01e52..4dc5166 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -309,7 +309,7 @@ _vte_reset_row_data (VteTerminal *terminal, VteRowData *row, gboolean fill)
/* Allocate a new line. */
VteRowData *
-_vte_new_row_data_sized(VteTerminal *terminal, gboolean fill)
+_vte_new_row_data(VteTerminal *terminal, gboolean fill)
{
VteRowData *row = NULL;
row = g_slice_new(VteRowData);
@@ -332,11 +332,11 @@ vte_insert_line_internal(VteTerminal *terminal, glong position)
VteRowData *row;
/* Pad out the line data to the insertion point. */
while (_vte_ring_next(terminal->pvt->screen->row_data) < position) {
- row = _vte_new_row_data_sized(terminal, TRUE);
+ row = _vte_new_row_data(terminal, TRUE);
_vte_ring_append(terminal->pvt->screen->row_data, row);
}
/* If we haven't inserted a line yet, insert a new one. */
- row = _vte_new_row_data_sized(terminal, TRUE);
+ row = _vte_new_row_data(terminal, TRUE);
if (_vte_ring_next(terminal->pvt->screen->row_data) >= position) {
_vte_ring_insert(terminal->pvt->screen->row_data, position, row);
} else {
@@ -2326,7 +2326,7 @@ vte_terminal_insert_rows (VteTerminal *terminal, guint cnt)
const VteScreen *screen = terminal->pvt->screen;
VteRowData *row;
do {
- row = _vte_new_row_data_sized (terminal, FALSE);
+ row = _vte_new_row_data (terminal, FALSE);
_vte_ring_append(screen->row_data, row);
} while(--cnt);
return row;
@@ -2956,7 +2956,7 @@ _vte_terminal_cursor_down (VteTerminal *terminal)
* to insert_delta. */
start++;
end++;
- row = _vte_new_row_data_sized(terminal, FALSE);
+ row = _vte_new_row_data(terminal, FALSE);
_vte_ring_insert_preserve(terminal->pvt->screen->row_data,
screen->cursor_current.row,
row);
diff --git a/src/vteseq.c b/src/vteseq.c
index a8b88a4..fe5ad7f 100644
--- a/src/vteseq.c
+++ b/src/vteseq.c
@@ -120,11 +120,11 @@ vte_insert_line_internal(VteTerminal *terminal, glong position)
VteRowData *row;
/* Pad out the line data to the insertion point. */
while (_vte_ring_next(terminal->pvt->screen->row_data) < position) {
- row = _vte_new_row_data_sized(terminal, TRUE);
+ row = _vte_new_row_data(terminal, TRUE);
_vte_ring_append(terminal->pvt->screen->row_data, row);
}
/* If we haven't inserted a line yet, insert a new one. */
- row = _vte_new_row_data_sized(terminal, TRUE);
+ row = _vte_new_row_data(terminal, TRUE);
if (_vte_ring_next(terminal->pvt->screen->row_data) >= position) {
_vte_ring_insert(terminal->pvt->screen->row_data,
position, row);
@@ -332,7 +332,7 @@ _vte_terminal_clear_screen (VteTerminal *terminal)
if (i == 0) {
initial = _vte_ring_next(screen->row_data);
}
- rowdata = _vte_new_row_data_sized(terminal, TRUE);
+ rowdata = _vte_new_row_data(terminal, TRUE);
_vte_ring_append(screen->row_data, rowdata);
}
/* Move the cursor and insertion delta to the first line in the
@@ -435,7 +435,7 @@ _vte_terminal_scroll_text (VteTerminal *terminal, int scroll_amount)
}
while (_vte_ring_next(screen->row_data) <= end) {
- row = _vte_new_row_data_sized(terminal, FALSE);
+ row = _vte_new_row_data(terminal, FALSE);
_vte_ring_append(terminal->pvt->screen->row_data, row);
}
if (scroll_amount > 0) {
@@ -1144,7 +1144,7 @@ vte_sequence_handler_cd (VteTerminal *terminal, GValueArray *params)
rowdata = _vte_ring_index(screen->row_data, i);
g_assert(rowdata != NULL);
} else {
- rowdata = _vte_new_row_data_sized(terminal, FALSE);
+ rowdata = _vte_new_row_data(terminal, FALSE);
_vte_ring_append(screen->row_data, rowdata);
}
/* Pad out the row. */
@@ -3086,7 +3086,7 @@ vte_sequence_handler_screen_alignment_test (VteTerminal *terminal, GValueArray *
row++) {
/* Find this row. */
while (_vte_ring_next(screen->row_data) <= row) {
- rowdata = _vte_new_row_data_sized(terminal, FALSE);
+ rowdata = _vte_new_row_data(terminal, FALSE);
_vte_ring_append(screen->row_data, rowdata);
}
_vte_terminal_adjust_adjustments(terminal);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]