summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-01-22 13:17:43 -0500
committerChris Michael <cp.michael@samsung.com>2015-01-26 08:37:09 -0500
commit8eb78df3bb75e165349ccdee15427689c56dcd9e (patch)
tree5b43de1ef523180d95e3ad6725d94fbe3da59a91 /src/lib/ecore_drm
parent3b4a989892a51f419a195190887df18b8c461974 (diff)
ecore-drm: Remove session parameter for session take/release functions
The functions to take or release a session no longer accept session name as a parameter, so fix calls to those functions @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r--src/lib/ecore_drm/ecore_drm_logind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_logind.c b/src/lib/ecore_drm/ecore_drm_logind.c
index dfc5402373..7e7fa89797 100644
--- a/src/lib/ecore_drm/ecore_drm_logind.c
+++ b/src/lib/ecore_drm/ecore_drm_logind.c
@@ -204,7 +204,7 @@ _ecore_drm_logind_connect(Ecore_Drm_Device *dev)
204 if (!_ecore_drm_dbus_init(dev)) return EINA_FALSE; 204 if (!_ecore_drm_dbus_init(dev)) return EINA_FALSE;
205 205
206 /* take control of session */ 206 /* take control of session */
207 if (!_ecore_drm_dbus_session_take(dev->session)) 207 if (!_ecore_drm_dbus_session_take())
208 { 208 {
209 ERR("Could not take control of session"); 209 ERR("Could not take control of session");
210 goto take_err; 210 goto take_err;
@@ -229,7 +229,7 @@ _ecore_drm_logind_connect(Ecore_Drm_Device *dev)
229 return EINA_TRUE; 229 return EINA_TRUE;
230 230
231vt_err: 231vt_err:
232 _ecore_drm_dbus_session_release(dev->session); 232 _ecore_drm_dbus_session_release();
233take_err: 233take_err:
234 _ecore_drm_dbus_shutdown(); 234 _ecore_drm_dbus_shutdown();
235 return EINA_FALSE; 235 return EINA_FALSE;
@@ -242,7 +242,7 @@ _ecore_drm_logind_disconnect(Ecore_Drm_Device *dev)
242 active_hdlr = NULL; 242 active_hdlr = NULL;
243 243
244 _ecore_drm_logind_vt_destroy(dev); 244 _ecore_drm_logind_vt_destroy(dev);
245 _ecore_drm_dbus_session_release(dev->session); 245 _ecore_drm_dbus_session_release();
246 _ecore_drm_dbus_shutdown(); 246 _ecore_drm_dbus_shutdown();
247} 247}
248 248