mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-26 22:16:01 +01:00
Rebase from master
This commit is contained in:
parent
b33e33fd36
commit
af4a487da7
1 changed files with 0 additions and 3 deletions
|
@ -3070,7 +3070,6 @@ gboolean cb_draw(GtkWidget* widget, GdkEventExpose* expose, gpointer data)
|
|||
gdk_window_clear(widget->window);
|
||||
cairo_t *cairo = gdk_cairo_create(widget->window);
|
||||
|
||||
<<<<<<< HEAD
|
||||
double page_width, page_height, width, height;
|
||||
double scale = ((double) Zathura.PDF.scale / 100.0);
|
||||
|
||||
|
@ -3112,8 +3111,6 @@ gboolean cb_draw(GtkWidget* widget, GdkEventExpose* expose, gpointer data)
|
|||
Zathura.Search.draw = FALSE;
|
||||
}
|
||||
|
||||
calculate_offset(widget, &offset_x, &offset_y);
|
||||
|
||||
cairo_set_source_surface(cairo, Zathura.PDF.surface, offset_x, offset_y);
|
||||
cairo_paint(cairo);
|
||||
cairo_destroy(cairo);
|
||||
|
|
Loading…
Reference in a new issue