summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkviewpanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext/gtkviewpanel.h')
-rw-r--r--src/gtkext/gtkviewpanel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gtkext/gtkviewpanel.h b/src/gtkext/gtkviewpanel.h
index 038e860..24f0640 100644
--- a/src/gtkext/gtkviewpanel.h
+++ b/src/gtkext/gtkviewpanel.h
@@ -79,7 +79,9 @@ typedef enum _ScrollPositionTweak
} ScrollPositionTweak;
/* S'assure qu'une adresse donnée est visible à l'écran. */
-void gtk_view_panel_scroll_to_address(GtkViewPanel *, const vmpa2t *, ScrollPositionTweak);
+void _gtk_view_panel_scroll_to_address(GtkViewPanel *, const vmpa2t *, ScrollPositionTweak, bool);
+
+#define gtk_view_panel_scroll_to_address(p, a, t) _gtk_view_panel_scroll_to_address(p, a, t, true)
/* Fournit des éléments liés à la position courante dans la vue. */
bool gtk_view_panel_get_position(const GtkViewPanel *, GBufferLine **, GBufferSegment **);