diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nav.c | 11 | ||||
-rw-r--r-- | src/nav.h | 12 |
2 files changed, 11 insertions, 12 deletions
@@ -26,6 +26,17 @@ #include "debug.h" /* + * For back and forward navigation, each bw keeps an url index, + * and its scroll position. + */ +typedef struct _nav_stack_item nav_stack_item; +struct _nav_stack_item +{ + int url_idx; + int posx, posy; +}; + +/* * Forward declarations */ static void Nav_reload(BrowserWindow *bw); @@ -9,18 +9,6 @@ #define NAV_UIDX(bw, i) a_Nav_get_uidx(bw, i) #define NAV_TOP_UIDX(bw) a_Nav_get_top_uidx(bw) -/* - * For back and forward navigation, each bw keeps an url index, - * and its scroll position. - */ -typedef struct _nav_stack_item nav_stack_item; -struct _nav_stack_item -{ - int url_idx; - int posx, posy; -}; - - #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ |