(res_tz_dpy_pol, surf, brightness, TIZEN_DISPLAY_POLICY_ERROR_STATE_NONE);
}
+static void
+_tz_dpy_pol_iface_cb_destroy(struct wl_client *client, struct wl_resource *resource)
+{
+ wl_resource_destroy(resource);
+}
+
static void
_tzpol_iface_cb_subsurf_watcher_destroy(struct wl_resource *resource)
{
static const struct tizen_display_policy_interface _tz_dpy_pol_iface =
{
_tz_dpy_pol_iface_cb_brightness_set,
+ _tz_dpy_pol_iface_cb_destroy,
};
static void
global = wl_global_create(e_comp_wl->wl.disp,
&tizen_display_policy_interface,
- 1,
+ 2,
NULL,
_tz_dpy_pol_cb_bind);
EINA_SAFETY_ON_NULL_GOTO(global, err);