mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 20:16:01 +01:00
Mark functions as static
This commit is contained in:
parent
9a783fe202
commit
76bc4638b8
1 changed files with 6 additions and 5 deletions
|
@ -57,7 +57,7 @@ sc_mark_evaluate(girara_session_t* session, girara_argument_t* UNUSED(argument),
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
static bool
|
||||||
cb_marks_view_key_press_event_add(GtkWidget* UNUSED(widget), GdkEventKey* event,
|
cb_marks_view_key_press_event_add(GtkWidget* UNUSED(widget), GdkEventKey* event,
|
||||||
girara_session_t* session)
|
girara_session_t* session)
|
||||||
{
|
{
|
||||||
|
@ -84,8 +84,9 @@ cb_marks_view_key_press_event_add(GtkWidget* UNUSED(widget), GdkEventKey* event,
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cb_marks_view_key_press_event_evaluate(GtkWidget* UNUSED(widget), GdkEventKey*
|
static bool
|
||||||
event, girara_session_t* session)
|
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 != NULL, FALSE);
|
||||||
g_return_val_if_fail(session->gtk.view != 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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
mark_add(zathura_t* zathura, int key)
|
mark_add(zathura_t* zathura, int key)
|
||||||
{
|
{
|
||||||
if (zathura == NULL || zathura->document == NULL || zathura->global.marks == NULL) {
|
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);
|
girara_list_append(zathura->global.marks, mark);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
mark_evaluate(zathura_t* zathura, int key)
|
mark_evaluate(zathura_t* zathura, int key)
|
||||||
{
|
{
|
||||||
if (zathura == NULL || zathura->global.marks == NULL) {
|
if (zathura == NULL || zathura->global.marks == NULL) {
|
||||||
|
|
Loading…
Reference in a new issue