File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,8 +65,9 @@ public class Maya.View.EventEdition.GuestsPanel : Gtk.Grid {
6565 guest_list. set_selection_mode (Gtk . SelectionMode . NONE );
6666 guest_list. set_placeholder (no_guests_label);
6767
68- var guest_scrolledwindow = new Gtk .ScrolledWindow (null , null );
69- guest_scrolledwindow. add (guest_list);
68+ var guest_scrolledwindow = new Gtk .ScrolledWindow (null , null ) {
69+ child = guest_list
70+ };
7071 guest_scrolledwindow. expand = true ;
7172
7273 var frame = new Gtk .Frame (null ) {
Original file line number Diff line number Diff line change @@ -215,8 +215,9 @@ public class Maya.View.EventEdition.RepeatPanel : Gtk.Grid {
215215 exceptions_list. set_selection_mode (Gtk . SelectionMode . NONE );
216216 exceptions_list. set_placeholder (no_exceptions_label);
217217
218- var exceptions_scrolled = new Gtk .ScrolledWindow (null , null );
219- exceptions_scrolled. add (exceptions_list);
218+ var exceptions_scrolled = new Gtk .ScrolledWindow (null , null ) {
219+ child = exceptions_list
220+ };
220221 exceptions_scrolled. expand = true ;
221222
222223 var add_button = new Gtk .Button .with_label (_(" Add Exception" ));
You can’t perform that action at this time.
0 commit comments