Ejemplo n.º 1
0
static void
wayland_drm_uninit(struct wl_drm *drm)
{
	free(drm->device_name);
	wl_global_destroy(drm->wl_drm_global);
	free(drm);
}
Ejemplo n.º 2
0
Archivo: drm.c Proyecto: ibab/swc
void swc_drm_finalize()
{
    if (drm.global)
        wl_global_destroy(drm.global);
    wl_event_source_remove(drm.event_source);
    wld_destroy_renderer(swc.drm->renderer);
    wld_destroy_context(swc.drm->context);
    close(swc.drm->fd);
}
Ejemplo n.º 3
0
Archivo: zoom.c Proyecto: bpeel/weston
static void
text_cursor_position_notifier_destroy(struct wl_listener *listener, void *data)
{
	struct text_cursor_position *text_cursor_position =
		container_of(listener, struct text_cursor_position, destroy_listener);

	wl_global_destroy(text_cursor_position->global);
	free(text_cursor_position);
}
Ejemplo n.º 4
0
static void
wayland_output_destroy_notify (gpointer data)
{
  MetaWaylandOutput *wayland_output = data;
  GList *resources;

  /* Make sure the destructors don't mess with the list */
  resources = wayland_output->resources;
  wayland_output->resources = NULL;

  wl_global_destroy (wayland_output->global);
  g_list_free (resources);

  g_slice_free (MetaWaylandOutput, wayland_output);
}
Ejemplo n.º 5
0
static void
meta_wayland_output_finalize (GObject *object)
{
  MetaWaylandOutput *wayland_output = META_WAYLAND_OUTPUT (object);
  GList *l;

  wl_global_destroy (wayland_output->global);

  /* Make sure the wl_output destructor doesn't try to access MetaWaylandOutput
   * after we have freed it.
   */
  for (l = wayland_output->resources; l; l = l->next)
    {
      struct wl_resource *output_resource = l->data;

      wl_resource_set_user_data (output_resource, NULL);
    }

  g_list_free (wayland_output->resources);

  G_OBJECT_CLASS (meta_wayland_output_parent_class)->finalize (object);
}
Ejemplo n.º 6
0
Archivo: shm.c Proyecto: C0DEHERO/swc
void swc_shm_finalize()
{
    wl_global_destroy(shm.global);
    wld_destroy_renderer(swc.shm->renderer);
    wld_destroy_context(swc.shm->context);
}
Ejemplo n.º 7
0
void panel_manager_finalize()
{
    wl_global_destroy(panel_manager.global);
}
Ejemplo n.º 8
0
RestrictedGlobal::~RestrictedGlobal()
{
    m_authorizer->removeRestrictedInterface(m_interface->name);
    wl_global_destroy(m_global);
}
Ejemplo n.º 9
0
Global::~Global()
{
    wl_global_destroy(m_global);
}
Ejemplo n.º 10
0
Archivo: shell.c Proyecto: dapus/swc
void swc_shell_finalize()
{
    wl_global_destroy(shell.global);
}
Ejemplo n.º 11
0
void data_device_manager_finalize(void)
{
    wl_global_destroy(data_device_manager.global);
}
Ejemplo n.º 12
0
void
xdg_shell_finalize(void)
{
	wl_global_destroy(shell.global);
}