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:05 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-04-27 08:18:05 +0200
commit6036820119035cd589e2114c217fedc354bfbbd7 (patch)
tree85c06383a85a9de20b7dd32e3f32ac7790844747 /src/book-view.vala
parent0e384edd113205731fd0dc9f8e148d7dd5c6e5c3 (diff)
New upstream version 3.32.2upstream/3.32.2
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);