Skip to content

Commit acd9ee2

Browse files
authored
Update MainWindow.vala
1 parent c703221 commit acd9ee2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/MainWindow.vala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,13 @@ namespace jorts {
136136
delete_item.height_request = 32;
137137
delete_item.add_css_class("stickybar_button");
138138

139-
var this.popover = new SettingsPopover (this.theme);
139+
var popover = new SettingsPopover (this.theme);
140140

141-
this.popover.theme_changed.connect ((selected) => {
141+
popover.theme_changed.connect ((selected) => {
142142
this.update_theme(selected);
143143
});
144144

145-
this.popover.zoom_changed.connect ((zoomkind) => {
145+
popover.zoom_changed.connect ((zoomkind) => {
146146
if (zoomkind == "zoom_in") {
147147
this.zoom_in();
148148
} else if (zoomkind == "zoom_out") {
@@ -255,7 +255,7 @@ namespace jorts {
255255
this.remove_css_class (this.zoom.to_string());
256256
this.zoom = zoom;
257257
this.add_css_class (this.zoom.to_string());
258-
this.popover.set_zoomlevel(zoom);
258+
popover.set_zoomlevel(zoom);
259259
}
260260

261261

0 commit comments

Comments
 (0)