Fix leaked pixbuf in tab rendering
svn path=/branches/gtk-2-10/; revision=17577
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2007-04-01 Cody Russell <bratsche@gnome.org>
|
||||
|
||||
* modules/engines/ms-windows/msw_style.c: Unref the
|
||||
rotated pixbuf. Somehow this got applied to HEAD
|
||||
but not to gtk-2-10. (Daniel Atallah, #403470)
|
||||
|
||||
2007-04-01 Cody Russell <bratsche@gnome.org>
|
||||
|
||||
Merge from trunk:
|
||||
|
||||
@@ -2536,6 +2536,8 @@ draw_extension (GtkStyle * style,
|
||||
|
||||
gdk_draw_pixbuf (window, NULL, pixbuf, 0, 0, x2, y2, w2, h2, GDK_RGB_DITHER_NONE, 0, 0);
|
||||
|
||||
g_object_unref (G_OBJECT (pixbuf));
|
||||
|
||||
if (real_gap_side == GTK_POS_LEFT || real_gap_side == GTK_POS_RIGHT || real_gap_side == GTK_POS_BOTTOM)
|
||||
{
|
||||
g_object_unref (pixmap);
|
||||
|
||||
Reference in New Issue
Block a user