links

lynx-like text mode web browser
git clone anongit@rnpnr.xyz:links.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 4dc4e52b6fc6e3fa93100239a0a23b2ff130231f
Parent: 0273f52f95c55b8b42df3c75312d0f8c826da34a
Author: 0x766F6964
Date:   Fri, 17 Jul 2020 15:32:22 -0600

links.h: remove GF(x) macro

Diffstat:
Mlinks.h | 1-
Mmain.c | 5-----
Msession.c | 1-
3 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/links.h b/links.h @@ -75,7 +75,6 @@ do { \ #define F 0 #define gf_val(x, y) (x) -#define GF(x) #define MAX_STR_LEN 1024 diff --git a/main.c b/main.c @@ -362,10 +362,7 @@ static void initialize_all_subsystems(void) /* Is called sometimes after and sometimes before graphics driver init */ static void initialize_all_subsystems_2(void) { - GF(init_dip()); - GF(init_imgcache()); init_fcache(); - GF(init_grview()); } static void terminate_all_subsystems(void) @@ -395,8 +392,6 @@ static void terminate_all_subsystems(void) check_bottom_halves(); end_config(); free_strerror_buf(); - GF(free_dither()); - GF(shutdown_graphics()); os_free_clipboard(); if (fg_poll_timer != NULL) { kill_timer(fg_poll_timer); diff --git a/session.c b/session.c @@ -2858,7 +2858,6 @@ void win_func(struct window *win, struct links_event *ev, int fw) move_session_to_front(ses); free(ses->st_old); ses->st_old = NULL; - GF(set_window_pos(win, 0, 0, ev->x, ev->y)); set_doc_view(ses); html_interpret_recursive(ses->screen); draw_fd(ses->screen);