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
111
Issues
111
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
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
6c7479c3
Commit
6c7479c3
authored
Feb 26, 2016
by
Sebastian Ramacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make zathura_set_xid always available
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
0b45a313
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
9 deletions
+2
-9
zathura/main.c
zathura/main.c
+0
-4
zathura/zathura.c
zathura/zathura.c
+0
-2
zathura/zathura.h
zathura/zathura.h
+2
-3
No files found.
zathura/main.c
View file @
6c7479c3
...
...
@@ -18,10 +18,6 @@
#include "synctex.h"
#endif
#ifndef GDK_WINDOWING_X11
typedef
int
Window
;
#endif
/* Init locale */
static
void
init_locale
(
void
)
...
...
zathura/zathura.c
View file @
6c7479c3
...
...
@@ -448,7 +448,6 @@ zathura_free(zathura_t* zathura)
g_free
(
zathura
);
}
#ifdef GDK_WINDOWING_X11
void
zathura_set_xid
(
zathura_t
*
zathura
,
Window
xid
)
{
...
...
@@ -456,7 +455,6 @@ zathura_set_xid(zathura_t* zathura, Window xid)
zathura
->
ui
.
session
->
gtk
.
embed
=
xid
;
}
#endif
void
zathura_set_config_dir
(
zathura_t
*
zathura
,
const
char
*
dir
)
...
...
zathura/zathura.h
View file @
6c7479c3
...
...
@@ -238,15 +238,14 @@ bool zathura_init(zathura_t* zathura);
*/
void
zathura_free
(
zathura_t
*
zathura
);
#ifdef GDK_WINDOWING_X11
/**
* Set parent window id
* Set parent window id. This does not have an effect if the underlying Gtk
* backend is not X11.
*
* @param zathura The zathura session
* @param xid The window id
*/
void
zathura_set_xid
(
zathura_t
*
zathura
,
Window
xid
);
#endif
/**
* Set the path to the configuration directory
...
...
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