@@ -291,9 +291,7 @@ public class Gala.WindowClone : Clutter.Actor {
291291 new GesturePropertyTransition (this , gesture_tracker, " width" , null , (float ) outer_rect. width). start (with_gesture);
292292 new GesturePropertyTransition (this , gesture_tracker, " height" , null , (float ) outer_rect. height). start (with_gesture);
293293 new GesturePropertyTransition (this , gesture_tracker, " shadow-opacity" , (uint8 ) 255 , (uint8 ) 0 ). start (with_gesture);
294- var opacity_transition = new GesturePropertyTransition (window_icon, gesture_tracker, " opacity" , 255u , 0u );
295- opacity_transition. start (with_gesture);
296- opacity_transition. done. connect (() = > {
294+ new GesturePropertyTransition (window_icon, gesture_tracker, " opacity" , 255u , 0u ). start (with_gesture, () = > {
297295 in_slot_animation = false ;
298296 place_widgets (outer_rect. width, outer_rect. height, target_scale);
299297 });
@@ -364,9 +362,7 @@ public class Gala.WindowClone : Clutter.Actor {
364362 new GesturePropertyTransition (this , gesture_tracker, " width" , (float ) initial_width, (float ) rect. width). start (with_gesture);
365363 new GesturePropertyTransition (this , gesture_tracker, " height" , (float ) initial_height, (float ) rect. height). start (with_gesture);
366364 new GesturePropertyTransition (this , gesture_tracker, " shadow-opacity" , (uint8 ) 0 , (uint8 ) 255 ). start (with_gesture);
367- var opacity_transition = new GesturePropertyTransition (window_icon, gesture_tracker, " opacity" , 0u , 255u );
368- opacity_transition. start (with_gesture);
369- opacity_transition. done. connect (() = > {
365+ new GesturePropertyTransition (window_icon, gesture_tracker, " opacity" , 0u , 255u ). start (with_gesture, () = > {
370366 in_slot_animation = false ;
371367 place_widgets (rect. width, rect. height, scale);
372368 });
0 commit comments