diff options
Diffstat (limited to 'src/gtkext/gtkdisplaypanel.h')
-rw-r--r-- | src/gtkext/gtkdisplaypanel.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gtkext/gtkdisplaypanel.h b/src/gtkext/gtkdisplaypanel.h index 82259e9..c060c39 100644 --- a/src/gtkext/gtkdisplaypanel.h +++ b/src/gtkext/gtkdisplaypanel.h @@ -29,6 +29,7 @@ #include "../analysis/binary.h" +#include "../glibext/glinecursor.h" @@ -82,11 +83,9 @@ const vmpa2t *gtk_display_panel_get_caret_location(const GtkDisplayPanel *); GObject *gtk_display_panel_get_active_object(const GtkDisplayPanel *); /* S'assure qu'une adresse donnée est visible à l'écran. */ -void _gtk_display_panel_scroll_to_address(GtkDisplayPanel *, const vmpa2t *, ScrollPositionTweak, bool); - -#define gtk_display_panel_scroll_to_address(p, a, t) _gtk_display_panel_scroll_to_address(p, a, t, true) - +void _gtk_display_panel_scroll_to_cursor(GtkDisplayPanel *, const GLineCursor *, ScrollPositionTweak, bool); +#define gtk_display_panel_scroll_to_cursor(p, c, t) _gtk_display_panel_scroll_to_cursor(p, c, t, true) /* Demande à qui veut répondre un déplacement du curseur. */ void gtk_display_panel_request_move(GtkDisplayPanel *, const vmpa2t *); |