Commit 5e957bc6 authored by Jeremie Knuesel's avatar Jeremie Knuesel
Browse files

Fix cb_widget_configured signature: return false

parent 9e58d075
......@@ -256,15 +256,17 @@ cb_widget_screen_changed(GtkWidget* widget, GdkScreen* previous_screen, gpointer
cb_widget_configured(GtkWidget* UNUSED(widget), GdkEvent* UNUSED(event), gpointer data)
zathura_t* zathura = data;
if (zathura == NULL) {
return false;
return false;
......@@ -116,8 +116,9 @@ void cb_widget_screen_changed(GtkWidget* widget, GdkScreen* previous_screen, gpo
* @param widget The main window widget
* @param event The configure event
* @param gpointer The zathura instance
* @return true if no error occurred and the event has been handled
void cb_widget_configured(GtkWidget* widget, GdkEvent* event, gpointer data);
gboolean cb_widget_configured(GtkWidget* widget, GdkEvent* event, gpointer data);
* This function gets called when the view widget scale factor changes (e.g.
Supports Markdown
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