From: Kristian Høgsberg Date: Tue, 21 May 2013 15:44:22 +0000 (-0400) Subject: cms-static: Use the right wl_listener for the output hotplug listener X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7ab5b8007910dc4f637ed78a182a378c744bcd8;p=platform%2Fupstream%2Fweston.git cms-static: Use the right wl_listener for the output hotplug listener --- diff --git a/src/cms-static.c b/src/cms-static.c index 94fea99..782e22f 100644 --- a/src/cms-static.c +++ b/src/cms-static.c @@ -73,7 +73,8 @@ static void cms_notifier_output_created(struct wl_listener *listener, void *data) { struct weston_output *o = (struct weston_output *) data; - struct cms_static *cms = container_of(listener, struct cms_static, destroy_listener); + struct cms_static *cms = + container_of(listener, struct cms_static, output_created_listener); cms_output_created(cms, o); }