Commit 9ee80714 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Fix return type of callbacks

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent be717529
...@@ -459,7 +459,7 @@ error_ret: ...@@ -459,7 +459,7 @@ error_ret:
return false; return false;
} }
bool gboolean
cb_view_resized(GtkWidget* UNUSED(widget), GtkAllocation* UNUSED(allocation), zathura_t* zathura) cb_view_resized(GtkWidget* UNUSED(widget), GtkAllocation* UNUSED(allocation), zathura_t* zathura)
{ {
if (zathura == NULL || zathura->document == NULL) { if (zathura == NULL || zathura->document == NULL) {
......
...@@ -146,7 +146,7 @@ bool cb_password_dialog(GtkEntry* entry, void* dialog); ...@@ -146,7 +146,7 @@ bool cb_password_dialog(GtkEntry* entry, void* dialog);
* @param zathura Zathura session * @param zathura Zathura session
* @return true if signal has been handled successfully * @return true if signal has been handled successfully
*/ */
bool cb_view_resized(GtkWidget* widget, GtkAllocation* allocation, zathura_t* zathura); gboolean cb_view_resized(GtkWidget* widget, GtkAllocation* allocation, zathura_t* zathura);
/** /**
* Emitted when the 'recolor' setting is changed * Emitted when the 'recolor' setting is changed
......
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