mirror of
https://github.com/elementary/gala.git
synced 2024-12-25 02:02:11 +03:00
Dialogs: Use the provided object in finish
Allows to make sure that the object will be the same as the one the function started and will actually not be null.
This commit is contained in:
parent
fd1d4f1b77
commit
ea7d9581ee
@ -99,7 +99,7 @@ namespace Gala {
|
||||
uint ret;
|
||||
|
||||
try {
|
||||
portal.access_dialog.end (res, out ret);
|
||||
((AccessPortal) obj).access_dialog.end (res, out ret);
|
||||
} catch (Error e) {
|
||||
warning (e.message);
|
||||
ret = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user