mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 08:27:31 +01:00
Fix more callback return types
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
9ee80714d4
commit
32607326a9
2 changed files with 6 additions and 6 deletions
|
@ -356,14 +356,14 @@ handle_link(GtkEntry* entry, girara_session_t* session,
|
|||
return (eval == TRUE) ? TRUE : FALSE;
|
||||
}
|
||||
|
||||
bool
|
||||
gboolean
|
||||
cb_sc_follow(GtkEntry* entry, void* data)
|
||||
{
|
||||
girara_session_t* session = data;
|
||||
return handle_link(entry, session, ZATHURA_LINK_ACTION_FOLLOW);
|
||||
}
|
||||
|
||||
bool
|
||||
gboolean
|
||||
cb_sc_display_link(GtkEntry* entry, void* data)
|
||||
{
|
||||
girara_session_t* session = data;
|
||||
|
@ -405,7 +405,7 @@ password_dialog(gpointer data)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
bool
|
||||
gboolean
|
||||
cb_password_dialog(GtkEntry* entry, void* data)
|
||||
{
|
||||
if (entry == NULL || data == NULL) {
|
||||
|
|
|
@ -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);
|
||||
gboolean 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);
|
||||
gboolean 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);
|
||||
gboolean cb_password_dialog(GtkEntry* entry, void* dialog);
|
||||
|
||||
/**
|
||||
* Emitted when the view has been resized
|
||||
|
|
Loading…
Reference in a new issue