summaryrefslogtreecommitdiff
path: root/src/book-view.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-04-27 08:18:08 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-04-27 08:18:08 +0200
commitda62a01238b3d57d39616bfad82bf9a6fb2ac114 (patch)
treea9eabcee4fb9379440b5518f9b4be1d8537a6ff1 /src/book-view.vala
parent654b0df859d8bd2723bd1508a3e48d0d30a0ef0d (diff)
parent6036820119035cd589e2114c217fedc354bfbbd7 (diff)
Update upstream source from tag 'upstream/3.32.2'
Update to upstream version '3.32.2' with Debian dir 391840e142b2996e74639ed24637ddcaa8905c0a
Diffstat (limited to 'src/book-view.vala')
-rw-r--r--src/book-view.vala5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/book-view.vala b/src/book-view.vala
index 3ffcdf8..782a011 100644
--- a/src/book-view.vala
+++ b/src/book-view.vala
@@ -99,11 +99,12 @@ public class BookView : Gtk.Box
drawing_area.set_size_request (200, 100);
drawing_area.can_focus = true;
drawing_area.events = Gdk.EventMask.POINTER_MOTION_MASK | Gdk.EventMask.BUTTON_PRESS_MASK | Gdk.EventMask.BUTTON_RELEASE_MASK | Gdk.EventMask.FOCUS_CHANGE_MASK | Gdk.EventMask.STRUCTURE_MASK | Gdk.EventMask.SCROLL_MASK;
- pack_start (drawing_area, true, true, 0);
+ drawing_area.vexpand = true;
+ add (drawing_area);
scroll = new Gtk.Scrollbar (Gtk.Orientation.HORIZONTAL, null);
adjustment = scroll.adjustment;
- pack_start (scroll, false, true, 0);
+ add (scroll);
drawing_area.configure_event.connect (configure_cb);
drawing_area.draw.connect (draw_cb);