diff options
Diffstat (limited to 'platform/x11/x11_main.c')
-rw-r--r-- | platform/x11/x11_main.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/platform/x11/x11_main.c b/platform/x11/x11_main.c index 085c58d8..0da79469 100644 --- a/platform/x11/x11_main.c +++ b/platform/x11/x11_main.c @@ -713,12 +713,6 @@ void winreloadpage(pdfapp_t *app) XCloseDisplay(dpy); } -void winreloadfile(pdfapp_t *app) -{ - pdfapp_close(app); - pdfapp_open(app, filename, 1); -} - void winopenuri(pdfapp_t *app, char *buf) { char *browser = getenv("BROWSER"); @@ -1078,7 +1072,7 @@ int main(int argc, char **argv) { if (reloading) { - winreloadfile(&gapp); + pdfapp_reloadfile(&gapp); reloading = 0; } } |