mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
Replace deprecated Gtk HBox and VBox with normal Box
This commit is contained in:
@@ -76,7 +76,9 @@ class BoxedPopoverButton extends BoxedIconButton
|
||||
this.popover = new Gtk.Popover({
|
||||
relative_to: this.box
|
||||
});
|
||||
this.popoverBox = new Gtk.VBox();
|
||||
this.popoverBox = new Gtk.Box({
|
||||
orientation: Gtk.Orientation.VERTICAL
|
||||
});
|
||||
this.popover.add(this.popoverBox);
|
||||
this.popoverBox.show();
|
||||
this.connect(
|
||||
|
3
clapper_src/controls.js
vendored
3
clapper_src/controls.js
vendored
@@ -19,11 +19,12 @@ var Controls = GObject.registerClass({
|
||||
param_types: [GObject.TYPE_STRING]
|
||||
},
|
||||
}
|
||||
}, class ClapperControls extends Gtk.HBox
|
||||
}, class ClapperControls extends Gtk.Box
|
||||
{
|
||||
_init()
|
||||
{
|
||||
super._init({
|
||||
orientation: Gtk.Orientation.HORIZONTAL,
|
||||
margin_start: CONTROLS_MARGIN,
|
||||
margin_end: CONTROLS_MARGIN,
|
||||
spacing: CONTROLS_SPACING,
|
||||
|
Reference in New Issue
Block a user