[vlc-commits] commit: Fix previous commit ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sun Jul 11 18:00:00 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 11 18:59:45 2010 +0300| [3356dff1a7c7b4c60f3018d84d39a70129557148] | committer: Rémi Denis-Courmont 

Fix previous commit

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

 modules/video_output/xcb/events.c |    1 -
 modules/video_output/xcb/window.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/xcb/events.c b/modules/video_output/xcb/events.c
index bb016cf..0d3e656 100644
--- a/modules/video_output/xcb/events.c
+++ b/modules/video_output/xcb/events.c
@@ -107,7 +107,6 @@ void RegisterMouseEvents (vlc_object_t *obj, xcb_connection_t *conn,
         xcb_change_window_attributes (conn, wnd,
                                       XCB_CW_EVENT_MASK, &value);
     }
-    var_Destroy (obj, "mouse-events");
 }
 
 /* NOTE: we assume no other thread will be _setting_ our video output events
diff --git a/modules/video_output/xcb/window.c b/modules/video_output/xcb/window.c
index 4d07787..48f2f2a 100644
--- a/modules/video_output/xcb/window.c
+++ b/modules/video_output/xcb/window.c
@@ -608,7 +608,6 @@ static int EmOpen (vlc_object_t *obj)
     xcb_window_t window = var_InheritInteger (obj, "drawable-xid");
     if (window == 0)
         return VLC_EGENERIC;
-    var_Destroy (obj, "drawable-xid");
 
     if (AcquireDrawable (obj, window))
         return VLC_EGENERIC;



More information about the vlc-commits mailing list