Skip to content

Commit 86722d3

Browse files
authored
Fix end-session signal signature (#58)
1 parent a4d0d60 commit 86722d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Agent.vala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*-
22
* Copyright (c) 2015-2016 elementary LLC.
3-
* Copyright (C) 2015-2016 Ikey Doherty <ikey@solus-project.com>
3+
* Copyright (C) 2015-2016 Ikey Doherty <ikey@solus-project.com>
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU Lesser General Public License as published by
@@ -61,8 +61,8 @@ namespace Ag {
6161
return false;
6262
}
6363

64-
sclient.query_end_session.connect (session_respond);
65-
sclient.end_session.connect (session_respond);
64+
sclient.query_end_session.connect ((flags) => session_respond (sclient, flags));
65+
sclient.end_session.connect ((flags) => session_respond (sclient, flags));
6666
sclient.stop.connect (session_stop);
6767

6868
return true;

0 commit comments

Comments
 (0)