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
32607326
Commit
32607326
authored
Oct 25, 2016
by
Sebastian Ramacher
Browse files
Fix more callback return types
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
9ee80714
Changes
2
Hide whitespace changes
Inline
Side-by-side
zathura/callbacks.c
View file @
32607326
...
...
@@ -356,14 +356,14 @@ handle_link(GtkEntry* entry, girara_session_t* session,
return
(
eval
==
TRUE
)
?
TRUE
:
FALSE
;
}
bool
g
bool
ean
cb_sc_follow
(
GtkEntry
*
entry
,
void
*
data
)
{
girara_session_t
*
session
=
data
;
return
handle_link
(
entry
,
session
,
ZATHURA_LINK_ACTION_FOLLOW
);
}
bool
g
bool
ean
cb_sc_display_link
(
GtkEntry
*
entry
,
void
*
data
)
{
girara_session_t
*
session
=
data
;
...
...
@@ -405,7 +405,7 @@ password_dialog(gpointer data)
return
FALSE
;
}
bool
g
bool
ean
cb_password_dialog
(
GtkEntry
*
entry
,
void
*
data
)
{
if
(
entry
==
NULL
||
data
==
NULL
)
{
...
...
zathura/callbacks.h
View file @
32607326
...
...
@@ -110,7 +110,7 @@ void cb_index_row_activated(GtkTreeView* tree_view, GtkTreePath* path,
* @param session The girara session
* @return true if no error occurred and the event has been handled
*/
bool
cb_sc_follow
(
GtkEntry
*
entry
,
void
*
session
);
g
bool
ean
cb_sc_follow
(
GtkEntry
*
entry
,
void
*
session
);
/**
* Called when input has been passed to the sc_display_link dialog
...
...
@@ -119,7 +119,7 @@ bool cb_sc_follow(GtkEntry* entry, void* session);
* @param session The girara session
* @return true if no error occurred and the event has been handled
*/
bool
cb_sc_display_link
(
GtkEntry
*
entry
,
void
*
session
);
g
bool
ean
cb_sc_display_link
(
GtkEntry
*
entry
,
void
*
session
);
/**
* Emitted when file has been changed
...
...
@@ -136,7 +136,7 @@ void cb_file_monitor(ZathuraFileMonitor* monitor, girara_session_t* session);
* @param dialog The dialog information
* @return true if input has been handled
*/
bool
cb_password_dialog
(
GtkEntry
*
entry
,
void
*
dialog
);
g
bool
ean
cb_password_dialog
(
GtkEntry
*
entry
,
void
*
dialog
);
/**
* Emitted when the view has been resized
...
...
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