Esempio 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);
}
Esempio n. 2
0
File: drm.c Progetto: 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);
}
Esempio n. 3
0
File: zoom.c Progetto: 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);
}
Esempio 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);
}
Esempio 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);
}
Esempio n. 6
0
File: shm.c Progetto: C0DEHERO/swc
void swc_shm_finalize()
{
    wl_global_destroy(shm.global);
    wld_destroy_renderer(swc.shm->renderer);
    wld_destroy_context(swc.shm->context);
}
Esempio n. 7
0
void panel_manager_finalize()
{
    wl_global_destroy(panel_manager.global);
}
Esempio n. 8
0
RestrictedGlobal::~RestrictedGlobal()
{
    m_authorizer->removeRestrictedInterface(m_interface->name);
    wl_global_destroy(m_global);
}
Esempio n. 9
0
Global::~Global()
{
    wl_global_destroy(m_global);
}
Esempio n. 10
0
File: shell.c Progetto: dapus/swc
void swc_shell_finalize()
{
    wl_global_destroy(shell.global);
}
Esempio n. 11
0
void data_device_manager_finalize(void)
{
    wl_global_destroy(data_device_manager.global);
}
Esempio n. 12
0
void
xdg_shell_finalize(void)
{
	wl_global_destroy(shell.global);
}