wayland/dma-buf: Name readiness source

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3398>
This commit is contained in:
Ivan Molodetskikh 2023-11-15 09:24:08 +04:00 committed by Marge Bot
parent a1b2725238
commit 31c5525382

View File

@ -970,6 +970,8 @@ meta_wayland_dma_buf_create_source (MetaWaylandBuffer *buffer,
source = source =
(MetaWaylandDmaBufSource *) g_source_new (&meta_wayland_dma_buf_source_funcs, (MetaWaylandDmaBufSource *) g_source_new (&meta_wayland_dma_buf_source_funcs,
sizeof (*source)); sizeof (*source));
g_source_set_name ((GSource *) source, "[mutter] DmaBuf readiness source");
source->buffer = g_object_ref (buffer); source->buffer = g_object_ref (buffer);
source->dispatch = dispatch; source->dispatch = dispatch;
source->user_data = user_data; source->user_data = user_data;