Florian Müllner d823141360 dialog: Ensure action callback is called with no arguments
Using the callback directly as signal handler means that it will
receive the signal parameters (in this case: the StButton instance
that emits the signal).

This leaks an implementation detail that is harmless in the best
case, but can break dialogs when using bind() on the callback.

Avoid that trap by explicitly calling the callback without arguments.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4139

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1819>
2021-04-19 19:12:59 +02:00
..
2021-02-26 12:28:21 +00:00
2021-04-13 10:02:09 +00:00
2021-02-24 09:52:45 +00:00
2019-11-11 19:25:14 +00:00
2021-02-13 08:58:20 +00:00
2020-03-27 10:39:58 +01:00