e_comp_screen: add destroy of tizen_screen_rotation
authorJunSeok, Kim <juns.kim@samsung.com>
Thu, 7 Sep 2017 11:37:49 +0000 (20:37 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Wed, 20 Sep 2017 04:31:34 +0000 (13:31 +0900)
The destructor added to tizen_screen_rotation so add the implementation
of serverside.

Change-Id: I170a277b4891301aba53ce75747119821c13d34d

src/bin/e_comp_screen.c

index b9ac20c246d4254fa4137bb6d195d89c563d6567..ea4b3582a95546ae89eb8cc7ff490377bf2ed117 100644 (file)
@@ -76,9 +76,16 @@ _tz_screen_rotation_get_ignore_output_transform(struct wl_client *client, struct
    tzsr_list = eina_list_append(tzsr_list, tzsr);
 }
 
+static void
+_tz_screen_rotation_iface_cb_destroy(struct wl_client *client, struct wl_resource *resource)
+{
+   wl_resource_destroy(resource);
+}
+
 static const struct tizen_screen_rotation_interface _tz_screen_rotation_interface =
 {
    _tz_screen_rotation_get_ignore_output_transform,
+   _tz_screen_rotation_iface_cb_destroy,
 };
 
 static void