summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_subsurf.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-10-06 10:11:23 -0400
committerChris Michael <cp.michael@samsung.com>2015-12-03 12:02:40 -0500
commited8287bdba1dce8947df3932abed794ad8a8ad15 (patch)
tree46de810e0808cb573ef0e9a18a77abaa05cdfeab /src/lib/ecore_wl2/ecore_wl2_subsurf.c
parent6c16d7967bc6a6eb4d521ec1b8999649eea664f9 (diff)
ecore-wl2: Add API function to delete a subsurface
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_subsurf.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_subsurf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_subsurf.c b/src/lib/ecore_wl2/ecore_wl2_subsurf.c
index 90a934364a..ac8d1830bf 100644
--- a/src/lib/ecore_wl2/ecore_wl2_subsurf.c
+++ b/src/lib/ecore_wl2/ecore_wl2_subsurf.c
@@ -69,3 +69,11 @@ surf_err:
69 free(subsurf); 69 free(subsurf);
70 return NULL; 70 return NULL;
71} 71}
72
73EAPI void
74ecore_wl2_subsurface_del(Ecore_Wl2_Subsurface *subsurface)
75{
76 EINA_SAFETY_ON_NULL_RETURN(subsurface);
77
78 _ecore_wl2_subsurf_free(subsurface);
79}