summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-06-20 09:43:56 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2020-06-23 10:29:14 +0200
commit1fd0435f21ef74f28417fbb832aad764e618d9fb (patch)
tree9e504657c5f92ec2a025e0ad267ee70747bffc48 /src/lib/ecore_drm/ecore_drm.c
parentc2be0d0dba1e11bcedbe41997fe0ea9b98014289 (diff)
Get rid of trailing whitespaces (4 / 14)
Remove trailing whitespaces Differential Revision: https://phab.enlightenment.org/D12002
Diffstat (limited to 'src/lib/ecore_drm/ecore_drm.c')
-rw-r--r--src/lib/ecore_drm/ecore_drm.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/ecore_drm/ecore_drm.c b/src/lib/ecore_drm/ecore_drm.c
index fb8c593b09..75c4c76b38 100644
--- a/src/lib/ecore_drm/ecore_drm.c
+++ b/src/lib/ecore_drm/ecore_drm.c
@@ -50,25 +50,25 @@ _ecore_drm_event_activate_send(Eina_Bool active)
50 if (!(e = calloc(1, sizeof(Ecore_Drm_Event_Activate)))) return; 50 if (!(e = calloc(1, sizeof(Ecore_Drm_Event_Activate)))) return;
51 51
52 e->active = active; 52 e->active = active;
53 ecore_event_add(ECORE_DRM_EVENT_ACTIVATE, e, 53 ecore_event_add(ECORE_DRM_EVENT_ACTIVATE, e,
54 _ecore_drm_event_activate_free, NULL); 54 _ecore_drm_event_activate_free, NULL);
55} 55}
56 56
57/** 57/**
58 * @defgroup Ecore_Drm_Init_Group Drm Library Init and Shutdown Functions 58 * @defgroup Ecore_Drm_Init_Group Drm Library Init and Shutdown Functions
59 * 59 *
60 * Functions that start and shutdown the Ecore_Drm Library. 60 * Functions that start and shutdown the Ecore_Drm Library.
61 */ 61 */
62 62
63/** 63/**
64 * Initialize the Ecore_Drm library 64 * Initialize the Ecore_Drm library
65 * 65 *
66 * @return The number of times the library has been initialized without 66 * @return The number of times the library has been initialized without
67 * being shut down. 0 is returned if an error occurs. 67 * being shut down. 0 is returned if an error occurs.
68 * 68 *
69 * @ingroup Ecore_Drm_Init_Group 69 * @ingroup Ecore_Drm_Init_Group
70 */ 70 */
71EAPI int 71EAPI int
72ecore_drm_init(void) 72ecore_drm_init(void)
73{ 73{
74 /* if we have already initialized, return the count */ 74 /* if we have already initialized, return the count */
@@ -78,7 +78,7 @@ ecore_drm_init(void)
78 if (!eina_init()) return --_ecore_drm_init_count; 78 if (!eina_init()) return --_ecore_drm_init_count;
79 79
80 /* try to init ecore */ 80 /* try to init ecore */
81 if (!ecore_init()) 81 if (!ecore_init())
82 { 82 {
83 eina_shutdown(); 83 eina_shutdown();
84 return --_ecore_drm_init_count; 84 return --_ecore_drm_init_count;
@@ -96,7 +96,7 @@ ecore_drm_init(void)
96 /* eina_log_level_set(EINA_LOG_LEVEL_DBG); */ 96 /* eina_log_level_set(EINA_LOG_LEVEL_DBG); */
97 97
98 /* try to create logging domain */ 98 /* try to create logging domain */
99 _ecore_drm_log_dom = 99 _ecore_drm_log_dom =
100 eina_log_domain_register("ecore_drm", ECORE_DRM_DEFAULT_LOG_COLOR); 100 eina_log_domain_register("ecore_drm", ECORE_DRM_DEFAULT_LOG_COLOR);
101 if (!_ecore_drm_log_dom) 101 if (!_ecore_drm_log_dom)
102 { 102 {