Remember to free GDI Pen resources, introduced by bug 340201.(#364514)

2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>

        * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
        to free GDI Pen resources, introduced by bug 340201.(#364514)
This commit is contained in:
Dom Lachowicz 2006-10-23 20:24:31 +00:00 committed by Dom Lachowicz
parent f2a76890ba
commit eaa2c93fcd
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
* src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
to free GDI Pen resources, introduced by bug 340201.(#364514)
2006-10-18 Kristian Rietveld <kris@imendio.com>
* tests/testcombo.c (main): connect to notify::popup-shown instead of

View File

@ -1285,6 +1285,7 @@ draw_expander (GtkStyle * style,
}
SelectObject( dc, old_pen );
DeleteObject( pen );
release_window_dc( style, window, state );
}