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
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jeremie Knuesel
zathura
Commits
76bc4638
Commit
76bc4638
authored
Mar 09, 2020
by
Sebastian Ramacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark functions as static
parent
9a783fe2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
zathura/marks.c
zathura/marks.c
+6
-5
No files found.
zathura/marks.c
View file @
76bc4638
...
...
@@ -57,7 +57,7 @@ sc_mark_evaluate(girara_session_t* session, girara_argument_t* UNUSED(argument),
return
true
;
}
bool
static
bool
cb_marks_view_key_press_event_add
(
GtkWidget
*
UNUSED
(
widget
),
GdkEventKey
*
event
,
girara_session_t
*
session
)
{
...
...
@@ -84,8 +84,9 @@ cb_marks_view_key_press_event_add(GtkWidget* UNUSED(widget), GdkEventKey* event,
return
true
;
}
bool
cb_marks_view_key_press_event_evaluate
(
GtkWidget
*
UNUSED
(
widget
),
GdkEventKey
*
event
,
girara_session_t
*
session
)
static
bool
cb_marks_view_key_press_event_evaluate
(
GtkWidget
*
UNUSED
(
widget
),
GdkEventKey
*
event
,
girara_session_t
*
session
)
{
g_return_val_if_fail
(
session
!=
NULL
,
FALSE
);
g_return_val_if_fail
(
session
->
gtk
.
view
!=
NULL
,
FALSE
);
...
...
@@ -191,7 +192,7 @@ cmd_marks_delete(girara_session_t* session, girara_list_t* argument_list)
return
true
;
}
void
static
void
mark_add
(
zathura_t
*
zathura
,
int
key
)
{
if
(
zathura
==
NULL
||
zathura
->
document
==
NULL
||
zathura
->
global
.
marks
==
NULL
)
{
...
...
@@ -231,7 +232,7 @@ mark_add(zathura_t* zathura, int key)
girara_list_append
(
zathura
->
global
.
marks
,
mark
);
}
void
static
void
mark_evaluate
(
zathura_t
*
zathura
,
int
key
)
{
if
(
zathura
==
NULL
||
zathura
->
global
.
marks
==
NULL
)
{
...
...
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