Fix leaked pixbuf in tab rendering

svn path=/branches/gtk-2-10/; revision=17577
This commit is contained in:
Cody Russell
2007-04-01 20:07:38 +00:00
parent db866825a6
commit fb180cf79b
2 changed files with 8 additions and 0 deletions

View File

@@ -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:

View File

@@ -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);