diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-09-27 21:48:32 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-09-27 21:48:32 (GMT) |
commit | fa83bc71888fed39bcc77ad610ffd6f6980444f8 (patch) | |
tree | 38144f021e53bc5bfcf163002191076ef4766794 /src/gtkext/gtkbufferview.c | |
parent | f32b173243cf46f8a9cf84b610139b3d4bd20803 (diff) |
Selected segments for highlighting.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@264 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkbufferview.c')
-rw-r--r-- | src/gtkext/gtkbufferview.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gtkext/gtkbufferview.c b/src/gtkext/gtkbufferview.c index 99b67ab..e94d11a 100644 --- a/src/gtkext/gtkbufferview.c +++ b/src/gtkext/gtkbufferview.c @@ -34,12 +34,6 @@ static void gtk_buffer_view_class_init(GtkBufferViewClass *); /* Procède à l'initialisation de l'afficheur de tampons. */ static void gtk_buffer_view_init(GtkBufferView *); -/* Transcrit les coordonnées à l'écran en coordonnées absolues. */ -static void gtk_buffer_view_compute_fake_coord(GtkBufferView *, gint *, gint *); - -/* Transcrit les coordonnées absolues en coordonnées à l'écran. */ -static void gtk_buffer_view_compute_real_coord(GtkBufferView *, gint *, gint *); - /* Fournit la taille de composant requise pour un plein rendu. */ static void gtk_buffer_view_size_request(GtkWidget *, GtkRequisition *); @@ -128,7 +122,7 @@ static void gtk_buffer_view_init(GtkBufferView *view) * * ******************************************************************************/ -static void gtk_buffer_view_compute_fake_coord(GtkBufferView *view, gint *x, gint *y) +void gtk_buffer_view_compute_fake_coord(GtkBufferView *view, gint *x, gint *y) { if (GTK_VIEW_PANEL(view)->hadjustment != NULL) *x -= gtk_adjustment_get_value(GTK_VIEW_PANEL(view)->hadjustment); @@ -152,7 +146,7 @@ static void gtk_buffer_view_compute_fake_coord(GtkBufferView *view, gint *x, gin * * ******************************************************************************/ -static void gtk_buffer_view_compute_real_coord(GtkBufferView *view, gint *x, gint *y) +void gtk_buffer_view_compute_real_coord(GtkBufferView *view, gint *x, gint *y) { if (x != NULL && GTK_VIEW_PANEL(view)->hadjustment != NULL) *x += gtk_adjustment_get_value(GTK_VIEW_PANEL(view)->hadjustment); |