Debug output

This commit is contained in:
Sebastian Ramacher 2016-11-06 23:39:27 +01:00
parent 527e260957
commit 5026cbb9e3

View file

@ -853,6 +853,7 @@ render_all(zathura_t* zathura)
const double width = zathura_page_get_width(page);
page_calc_height_width(zathura->document, height, width, &page_height, &page_width, true);
girara_debug("Queuing resize for page %u to %u x %u (%f x %f).", page_id, page_width, page_height, width, height);
GtkWidget* widget = zathura_page_get_widget(zathura, page);
gtk_widget_set_size_request(widget, page_width, page_height);
gtk_widget_queue_resize(widget);