[vlc-commits] xcb_apps: use SD sub-item callback

Rémi Denis-Courmont git at videolan.org
Sun May 14 18:38:09 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 14 18:34:05 2017 +0300| [a8f1d0d10de74b9c7f088b8fc45790844438cf1a] | committer: Rémi Denis-Courmont

xcb_apps: use SD sub-item callback

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a8f1d0d10de74b9c7f088b8fc45790844438cf1a
---

 modules/services_discovery/xcb_apps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/services_discovery/xcb_apps.c b/modules/services_discovery/xcb_apps.c
index 4e8eddc527..57f84f20c2 100644
--- a/modules/services_discovery/xcb_apps.c
+++ b/modules/services_discovery/xcb_apps.c
@@ -282,7 +282,7 @@ static struct app *AddApp (services_discovery_t *sd, xcb_window_t xid)
     app->xid = xid;
     app->item = item;
     app->owner = sd;
-    input_item_PostSubItem(p_sys->apps_root, item);
+    services_discovery_AddSubItem(sd, p_sys->apps_root, item);
     return app;
 }
 



More information about the vlc-commits mailing list