While the code was using the pattern to cancel the operation, it was still resolving the user_data pointer even in the case the operation has been cancelled. Fix this by simply moving the initialization. Fixes: #1260 |
||
---|---|---|
.. | ||
icons | ||
battery-levels.css | ||
cc-battery-row.c | ||
cc-battery-row.h | ||
cc-battery-row.ui | ||
cc-brightness-scale.c | ||
cc-brightness-scale.h | ||
cc-power-panel.c | ||
cc-power-panel.h | ||
cc-power-panel.ui | ||
cc-power-profile-row.c | ||
cc-power-profile-row.h | ||
cc-power-profile-row.ui | ||
gnome-power-panel.desktop.in.in | ||
meson.build | ||
power-profiles.css | ||
power.gresource.xml |