Skip to content

Commit 2d3fdbe

Browse files
lenemtertintou
authored andcommitted
WindowClone: Fix memory leak in window spread
1 parent c9dbf9c commit 2d3fdbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Widgets/WindowClone.vala

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ public class Gala.WindowClone : Clutter.Actor {
116116

117117
if (overview_mode) {
118118
var click_action = new Clutter.ClickAction ();
119-
click_action.clicked.connect (() => {
120-
actor_clicked (click_action.get_button ());
119+
click_action.clicked.connect ((action, actor) => {
120+
actor_clicked (action.get_button ());
121121
});
122122

123123
add_action (click_action);

0 commit comments

Comments
 (0)