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
110
Issues
110
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwmt
zathura
Commits
898d3487
Commit
898d3487
authored
Feb 26, 2016
by
Sebastian Ramacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce another #ifdef
parent
6c7479c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
zathura/main.c
zathura/main.c
+1
-5
No files found.
zathura/main.c
View file @
898d3487
...
...
@@ -95,9 +95,7 @@ init_zathura(const char* config_dir, const char* data_dir,
return
NULL
;
}
#ifdef GDK_WINDOWING_X11
zathura_set_xid
(
zathura
,
embed
);
#endif
zathura_set_config_dir
(
zathura
,
config_dir
);
zathura_set_data_dir
(
zathura
,
data_dir
);
zathura_set_cache_dir
(
zathura
,
cache_dir
);
...
...
@@ -144,9 +142,7 @@ main(int argc, char* argv[])
Window
embed
=
0
;
GOptionEntry
entries
[]
=
{
#ifdef GDK_WINDOWING_X11
{
"reparent"
,
'e'
,
0
,
G_OPTION_ARG_INT
,
&
embed
,
_
(
"Reparents to window specified by xid"
),
"xid"
},
#endif
{
"reparent"
,
'e'
,
0
,
G_OPTION_ARG_INT
,
&
embed
,
_
(
"Reparents to window specified by xid (X11 only)"
),
"xid"
},
{
"config-dir"
,
'c'
,
0
,
G_OPTION_ARG_FILENAME
,
&
config_dir
,
_
(
"Path to the config directory"
),
"path"
},
{
"data-dir"
,
'd'
,
0
,
G_OPTION_ARG_FILENAME
,
&
data_dir
,
_
(
"Path to the data directory"
),
"path"
},
{
"cache-dir"
,
'\0'
,
0
,
G_OPTION_ARG_FILENAME
,
&
cache_dir
,
_
(
"Path to the cache directory"
),
"path"
},
...
...
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