Commit 32607326 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Fix more callback return types

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 9ee80714
...@@ -356,14 +356,14 @@ handle_link(GtkEntry* entry, girara_session_t* session, ...@@ -356,14 +356,14 @@ handle_link(GtkEntry* entry, girara_session_t* session,
return (eval == TRUE) ? TRUE : FALSE; return (eval == TRUE) ? TRUE : FALSE;
} }
bool gboolean
cb_sc_follow(GtkEntry* entry, void* data) cb_sc_follow(GtkEntry* entry, void* data)
{ {
girara_session_t* session = data; girara_session_t* session = data;
return handle_link(entry, session, ZATHURA_LINK_ACTION_FOLLOW); return handle_link(entry, session, ZATHURA_LINK_ACTION_FOLLOW);
} }
bool gboolean
cb_sc_display_link(GtkEntry* entry, void* data) cb_sc_display_link(GtkEntry* entry, void* data)
{ {
girara_session_t* session = data; girara_session_t* session = data;
...@@ -405,7 +405,7 @@ password_dialog(gpointer data) ...@@ -405,7 +405,7 @@ password_dialog(gpointer data)
return FALSE; return FALSE;
} }
bool gboolean
cb_password_dialog(GtkEntry* entry, void* data) cb_password_dialog(GtkEntry* entry, void* data)
{ {
if (entry == NULL || data == NULL) { if (entry == NULL || data == NULL) {
......
...@@ -110,7 +110,7 @@ void cb_index_row_activated(GtkTreeView* tree_view, GtkTreePath* path, ...@@ -110,7 +110,7 @@ void cb_index_row_activated(GtkTreeView* tree_view, GtkTreePath* path,
* @param session The girara session * @param session The girara session
* @return true if no error occurred and the event has been handled * @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 * Called when input has been passed to the sc_display_link dialog
...@@ -119,7 +119,7 @@ bool cb_sc_follow(GtkEntry* entry, void* session); ...@@ -119,7 +119,7 @@ bool cb_sc_follow(GtkEntry* entry, void* session);
* @param session The girara session * @param session The girara session
* @return true if no error occurred and the event has been handled * @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 * Emitted when file has been changed
...@@ -136,7 +136,7 @@ void cb_file_monitor(ZathuraFileMonitor* monitor, girara_session_t* session); ...@@ -136,7 +136,7 @@ void cb_file_monitor(ZathuraFileMonitor* monitor, girara_session_t* session);
* @param dialog The dialog information * @param dialog The dialog information
* @return true if input has been handled * @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 * Emitted when the view has been resized
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment