[Spice-devel] [PATCH spice-vdagent] dummy-session-info: remove session_is_locked()

Jakub Janků janku.jakub.jj at gmail.com
Sun Jul 22 14:07:30 UTC 2018


364b6bba068bd694d7c4355b6275f88482d9f3f8 introduced
session_info_session_is_locked() in session-info.h, however
dummy-session-info.c implemented session_is_locked() instead,
causing builds with --with-session-info=none to fail.

This was fixed by d66fbb9d12ae2e5dbaf13d23b9abb4b6bf187d7f,
but it didn't remove the incorrect session_is_locked().
---
 src/vdagentd/dummy-session-info.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/vdagentd/dummy-session-info.c b/src/vdagentd/dummy-session-info.c
index d8f1833..1be27ae 100644
--- a/src/vdagentd/dummy-session-info.c
+++ b/src/vdagentd/dummy-session-info.c
@@ -45,11 +45,6 @@ char *session_info_session_for_pid(struct session_info *si, uint32_t pid)
     return NULL;
 }
 
-gboolean session_is_locked(struct session_info *ck)
-{
-    return FALSE;
-}
-
 gboolean session_info_is_user(struct session_info *si)
 {
     return TRUE;
-- 
2.17.1



More information about the Spice-devel mailing list