Commit eff39054 authored by Cheng Sun's avatar Cheng Sun Committed by Jean-Baptiste Kempf

GTK: Actually destroy our GTK windows when we are told to

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 95b526ce
......@@ -445,6 +445,10 @@ bool VlcPluginGtk::destroy_windows()
/* destroy x window */
XDestroyWindow(display, video_xwindow);
/* destroy GTK top-levels */
/* free colors */
Colormap colormap = DefaultColormap(display, DefaultScreen(display));
XFreeColors(display, colormap, &bg_color.pixel, 1, 0);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment