[Spice-commits] server/display-channel.c
Frediano Ziglio
fziglio at kemper.freedesktop.org
Wed Dec 13 12:19:36 UTC 2017
server/display-channel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 158ab5f921b3dce52238427580734ecc4403cd61
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Tue Dec 12 17:40:02 2017 +0000
display-channel: Remove unused parameter from drawable_remove_dependencies
It's not used since its introduction at 4e8f24e3510ce8cb3fa6b.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Victor Toso <victortoso at redhat.com>
diff --git a/server/display-channel.c b/server/display-channel.c
index 899df42c..38a8a0e7 100644
--- a/server/display-channel.c
+++ b/server/display-channel.c
@@ -1659,7 +1659,7 @@ static void depended_item_remove(DependItem *item)
ring_remove(&item->ring_item);
}
-static void drawable_remove_dependencies(DisplayChannel *display, Drawable *drawable)
+static void drawable_remove_dependencies(Drawable *drawable)
{
int x;
int surface_id;
@@ -1701,7 +1701,7 @@ void drawable_unref(Drawable *drawable)
}
region_destroy(&drawable->tree_item.base.rgn);
- drawable_remove_dependencies(display, drawable);
+ drawable_remove_dependencies(drawable);
drawable_unref_surface_deps(display, drawable);
display_channel_surface_unref(display, drawable->surface_id);
More information about the Spice-commits
mailing list