[banshee] Undo over-disposing
- From: Alexander Kojevnikov <alexk src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] Undo over-disposing
- Date: Sat, 13 Feb 2010 05:02:04 +0000 (UTC)
commit 2384e94cb2293e2bc167f90cce146ad9d49608a3
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Sat Feb 13 16:01:52 2010 +1100
Undo over-disposing
.../Banshee.Collection.Gui/ColumnCellAlbum.cs | 4 ----
.../Banshee.Podcasting.Gui/ColumnCellPodcast.cs | 4 ----
2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs
index bcf806a..716fad0 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs
@@ -101,10 +101,6 @@ namespace Banshee.Collection.Gui
ArtworkRenderer.RenderThumbnail (context.Context, image, false, x, y,
image_render_size, image_render_size, !is_default, context.Theme.Context.Radius);
- if (!is_default) {
- ((IDisposable)image).Dispose ();
- }
-
int fl_width = 0, fl_height = 0, sl_width = 0, sl_height = 0;
Cairo.Color text_color = context.Theme.Colors.GetWidgetColor (GtkColorClass.Text, state);
text_color.A = 0.75;
diff --git a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/ColumnCellPodcast.cs b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/ColumnCellPodcast.cs
index c982331..86884e6 100644
--- a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/ColumnCellPodcast.cs
+++ b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/ColumnCellPodcast.cs
@@ -89,10 +89,6 @@ namespace Banshee.Podcasting.Gui
ArtworkRenderer.RenderThumbnail (context.Context, image, false, x, y,
image_render_size, image_render_size, !is_default, context.Theme.Context.Radius);
- if (!is_default) {
- ((IDisposable)image).Dispose ();
- }
-
int fl_width = 0, fl_height = 0, sl_width = 0, sl_height = 0;
Cairo.Color text_color = context.Theme.Colors.GetWidgetColor (GtkColorClass.Text, state);
text_color.A = 0.75;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]