Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
45a997c8
Commit
45a997c8
authored
Dec 17, 2013
by
Sebastian Ramacher
Browse files
More consts
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
660a3e77
Changes
1
Hide whitespace changes
Inline
Side-by-side
zathura.c
View file @
45a997c8
...
...
@@ -786,8 +786,8 @@ document_open(zathura_t* zathura, const char* path, const char* password,
/* adjust_view calls render_all in some cases and render_all calls
* gtk_widget_set_size_request. To be sure that it's really called, do it
* here once again. */
double
height
=
zathura_page_get_height
(
page
);
double
width
=
zathura_page_get_width
(
page
);
const
double
height
=
zathura_page_get_height
(
page
);
const
double
width
=
zathura_page_get_width
(
page
);
page_calc_height_width
(
zathura
->
document
,
height
,
width
,
&
page_height
,
&
page_width
,
true
);
gtk_widget_set_size_request
(
zathura
->
pages
[
page_id
],
page_width
,
page_height
);
...
...
Write
Preview
Supports
Markdown
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