Fix return type of callbacks

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Sebastian Ramacher 2016-10-25 20:59:33 +02:00
parent be717529c2
commit 9ee80714d4
2 changed files with 2 additions and 2 deletions

View file

@ -459,7 +459,7 @@ error_ret:
return false;
}
bool
gboolean
cb_view_resized(GtkWidget* UNUSED(widget), GtkAllocation* UNUSED(allocation), zathura_t* zathura)
{
if (zathura == NULL || zathura->document == NULL) {

View file

@ -146,7 +146,7 @@ bool cb_password_dialog(GtkEntry* entry, void* dialog);
* @param zathura Zathura session
* @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