summaryrefslogtreecommitdiff
path: root/src/glibext/bufferline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glibext/bufferline.c')
-rw-r--r--src/glibext/bufferline.c25
1 files changed, 2 insertions, 23 deletions
diff --git a/src/glibext/bufferline.c b/src/glibext/bufferline.c
index ba25b8f..3e93c9c 100644
--- a/src/glibext/bufferline.c
+++ b/src/glibext/bufferline.c
@@ -241,8 +241,7 @@ static void g_buffer_line_finalize(GBufferLine *line)
/******************************************************************************
* *
-* Paramètres : range = emplacement où va se situer la ligne. *
-* main = colonne à référencer comme étant la principale. *
+* Paramètres : main = colonne à référencer comme étant la principale. *
* *
* Description : Crée une nouvelle représentation de fragments de texte. *
* *
@@ -252,13 +251,12 @@ static void g_buffer_line_finalize(GBufferLine *line)
* *
******************************************************************************/
-GBufferLine *g_buffer_line_new(const mrange_t *range, BufferLineColumn main)
+GBufferLine *g_buffer_line_new(BufferLineColumn main)
{
GBufferLine *result; /* Composant à retourner */
result = g_object_new(G_TYPE_BUFFER_LINE, NULL);
- copy_mrange(&result->range, range);
result->main_column = main;
return result;
@@ -268,25 +266,6 @@ GBufferLine *g_buffer_line_new(const mrange_t *range, BufferLineColumn main)
/******************************************************************************
* *
-* Paramètres : line = ligne à venir consulter. *
-* *
-* Description : Indique la zone mémoire où se situe la ligne. *
-* *
-* Retour : Emplacement mémoire virtuel ou physique. *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-
-const mrange_t *g_buffer_line_get_range(const GBufferLine *line)
-{
- return &line->range;
-
-}
-
-
-/******************************************************************************
-* *
* Paramètres : line = ligne à venir compléter. *
* col = indice de la colonne à constituer. *
* size = taille souhaitée de l'impression des positions. *