Beispiel #1
0
static void
wayland_drm_uninit(struct wl_drm *drm)
{
	free(drm->device_name);
	wl_global_destroy(drm->wl_drm_global);
	free(drm);
}
Beispiel #2
0
Datei: drm.c Projekt: 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);
}
Beispiel #3
0
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);
}
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);
}
Beispiel #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);
}
Beispiel #6
0
void swc_shm_finalize()
{
    wl_global_destroy(shm.global);
    wld_destroy_renderer(swc.shm->renderer);
    wld_destroy_context(swc.shm->context);
}
Beispiel #7
0
void panel_manager_finalize()
{
    wl_global_destroy(panel_manager.global);
}
Beispiel #8
0
RestrictedGlobal::~RestrictedGlobal()
{
    m_authorizer->removeRestrictedInterface(m_interface->name);
    wl_global_destroy(m_global);
}
Beispiel #9
0
Global::~Global()
{
    wl_global_destroy(m_global);
}
Beispiel #10
0
Datei: shell.c Projekt: dapus/swc
void swc_shell_finalize()
{
    wl_global_destroy(shell.global);
}
Beispiel #11
0
void data_device_manager_finalize(void)
{
    wl_global_destroy(data_device_manager.global);
}
Beispiel #12
0
void
xdg_shell_finalize(void)
{
	wl_global_destroy(shell.global);
}