Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zathura
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiajunhuang
zathura
Commits
e9cfc67f
Commit
e9cfc67f
authored
Feb 20, 2016
by
jiajunhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix synctex error(but another bug occured).
parent
6218ee88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
zathura/main.c
zathura/main.c
+11
-5
No files found.
zathura/main.c
View file @
e9cfc67f
...
...
@@ -85,10 +85,13 @@ run_synctex_forward(const char* synctex_fwd, const char* filename,
static
zathura_t
*
init_zathura
(
const
char
*
config_dir
,
const
char
*
data_dir
,
const
char
*
cache_dir
,
const
char
*
plugin_path
,
char
**
argv
,
#ifdef WITH_SYNCTEX
char
*
synctex_editor
,
#endif
#ifdef GDK_WINDOWING_X11
char
*
synctex_editor
,
Window
embed
)
Window
embed
)
#else
char
*
synctex_editor
)
)
#endif
{
/* create zathura session */
...
...
@@ -249,11 +252,14 @@ main(int argc, char* argv[])
gtk_init
(
&
argc
,
&
argv
);
/* Create zathura session */
zathura_t
*
zathura
=
init_zathura
(
config_dir
,
data_dir
,
cache_dir
,
zathura_t
*
zathura
=
init_zathura
(
config_dir
,
data_dir
,
cache_dir
,
plugin_path
,
argv
,
#ifdef WITH_SYNCTEX
synctex_editor
,
#endif
#ifdef GDK_WINDOWING_X11
plugin_path
,
argv
,
synctex_editor
,
embed
);
embed
);
#else
plugin_path
,
argv
,
synctex_editor
);
);
#endif
if
(
zathura
==
NULL
)
{
girara_error
(
"Could not initialize zathura."
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment