aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2012-03-15 17:07:53 +0000
committerConor Curran <conor.curran@canonical.com>2012-03-15 17:07:53 +0000
commit68056b33ce18e68e6ceea1a8b260f1b5e51edd7d (patch)
treecb15159cc33a3f1c0696ef6dddc320f6940abbdd
parentc0423cafd88209571251ae71b17ef482a6da9f9a (diff)
downloadayatana-indicator-sound-68056b33ce18e68e6ceea1a8b260f1b5e51edd7d.tar.gz
ayatana-indicator-sound-68056b33ce18e68e6ceea1a8b260f1b5e51edd7d.tar.bz2
ayatana-indicator-sound-68056b33ce18e68e6ceea1a8b260f1b5e51edd7d.zip
make sure to clear the old image for gtk2 aswell
-rw-r--r--src/metadata-widget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/metadata-widget.c b/src/metadata-widget.c
index c360348..da2ae9a 100644
--- a/src/metadata-widget.c
+++ b/src/metadata-widget.c
@@ -444,7 +444,8 @@ metadata_image_expose (GtkWidget *metadata,
}
return FALSE;
}
- clear_album_art (GTK_IMAGE(priv->album_art));
+ clear_album_art (GTK_IMAGE(priv->album_art));
+ g_string_erase (priv->old_image_path, 0, -1);
gtk_widget_set_size_request(GTK_WIDGET(priv->album_art), 60, 60);
draw_album_art_placeholder(metadata);
return FALSE;