File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,23 +55,23 @@ public class jorts.SettingsPopover : Gtk.Popover {
5555 _("Zoom out")
5656 ) */
5757 };
58- zoom_out_button. clicked. connect (() = > this . get_window( ). zoom_out ());
58+ zoom_out_button. clicked. connect (() = > ( this . get_ancestor( Gtk . MainWindow ) ). zoom_out ());
5959
6060 var zoom_default_button = new Gtk .Button () {
6161/* tooltip_markup = Granite.markup_accel_tooltip (
6262 TerminalWidget.ACCELS_ZOOM_DEFAULT,
6363 _("Default zoom level")
6464 ) */
6565 };
66- zoom_default_button. clicked. connect (() = > this . get_window( ). set_zoom (100 ));
66+ zoom_default_button. clicked. connect (() = > ( this . get_ancestor( Gtk . MainWindow ) ). set_zoom (100 ));
6767
6868 var zoom_in_button = new Gtk .Button .from_icon_name (" zoom-in-symbolic" ) {
6969/* tooltip_markup = Granite.markup_accel_tooltip (
7070 TerminalWidget.ACCELS_ZOOM_IN,
7171 _("Zoom in")
7272 ) */
7373 };
74- zoom_in_button. clicked. connect (() = > this . get_window( ). zoom_in ());
74+ zoom_in_button. clicked. connect (() = > ( this . get_ancestor( Gtk . MainWindow ) ). zoom_in ());
7575
7676 var font_size_box = new Gtk .Box (HORIZONTAL , 0 ) {
7777 homogeneous = true ,
You can’t perform that action at this time.
0 commit comments