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
03ea66c6
Commit
03ea66c6
authored
Jul 26, 2013
by
Sebastian Ramacher
Browse files
Replace tabs with spaces
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
d699424c
Changes
1
Hide whitespace changes
Inline
Side-by-side
callbacks.c
View file @
03ea66c6
...
...
@@ -95,9 +95,9 @@ cb_view_vadjustment_value_changed(GtkAdjustment* GIRARA_UNUSED(adjustment), gpoi
if
(
gdk_rectangle_intersect
(
&
view_rect
,
&
page_rect
,
NULL
)
==
TRUE
)
{
if
(
zathura_page_get_visibility
(
page
)
==
false
)
{
zathura_page_set_visibility
(
page
,
true
);
zathura_page_widget_update_view_time
(
ZATHURA_PAGE
(
page_widget
));
zathura_page_cache_add
(
zathura
,
zathura_page_get_index
(
page
));
zathura_page_set_visibility
(
page
,
true
);
zathura_page_widget_update_view_time
(
ZATHURA_PAGE
(
page_widget
));
zathura_page_cache_add
(
zathura
,
zathura_page_get_index
(
page
));
}
if
(
zathura
->
global
.
update_page_number
==
true
&&
updated
==
false
&&
gdk_rectangle_intersect
(
&
center
,
&
page_rect
,
NULL
)
==
TRUE
)
{
...
...
@@ -111,7 +111,7 @@ cb_view_vadjustment_value_changed(GtkAdjustment* GIRARA_UNUSED(adjustment), gpoi
g_object_get
(
page_widget
,
"search-results"
,
&
results
,
NULL
);
if
(
results
!=
NULL
)
{
g_object_set
(
page_widget
,
"search-current"
,
0
,
NULL
);
g_object_set
(
page_widget
,
"search-current"
,
0
,
NULL
);
}
}
}
...
...
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