[vte/vte-next: 131/223] Move method to VteBuffer
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-next: 131/223] Move method to VteBuffer
- Date: Wed, 22 Jun 2011 20:59:36 +0000 (UTC)
commit 7eefd902cb5b14cb79bac583cf583297667c7c5e
Author: Christian Persch <chpe gnome org>
Date: Thu Jun 9 22:05:44 2011 +0200
Move method to VteBuffer
src/vte.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index d07c689..4584283 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -2101,12 +2101,12 @@ _vte_buffer_ensure_row (VteBuffer *buffer)
}
static VteRowData *
-vte_terminal_ensure_cursor(VteTerminal *terminal)
+vte_buffer_ensure_cursor(VteBuffer *buffer)
{
VteRowData *row;
- row = _vte_buffer_ensure_row (terminal->term_pvt->buffer);
- _vte_row_data_fill (row, &basic_cell.cell, terminal->pvt->screen->cursor_current.col);
+ row = _vte_buffer_ensure_row (buffer);
+ _vte_row_data_fill (row, &basic_cell.cell, buffer->pvt->screen->cursor_current.col);
return row;
}
@@ -2550,7 +2550,7 @@ _vte_terminal_insert_char(VteTerminal *terminal, gunichar c,
}
/* Make sure we have enough rows to hold this data. */
- row = vte_terminal_ensure_cursor (terminal);
+ row = vte_buffer_ensure_cursor (terminal->term_pvt->buffer);
g_assert(row != NULL);
_vte_terminal_cleanup_tab_fragments_at_cursor (terminal);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]