From 19f28a5707785dbb609a0b2185053b54a6369dfa Mon Sep 17 00:00:00 2001 From: Nicolas Delvaux Date: Sat, 16 Apr 2011 20:14:07 +0200 Subject: Fix a regression when calling "draw_album_art_placeholder" after diplaying one of those famous non-square cover. --- src/metadata-widget.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/metadata-widget.c b/src/metadata-widget.c index a61e94e..38ed529 100644 --- a/src/metadata-widget.c +++ b/src/metadata-widget.c @@ -195,6 +195,7 @@ metadata_image_expose (GtkWidget *metadata, GdkEventExpose *event, gpointer user // priv->image_path->str); if(GDK_IS_PIXBUF(pixbuf) == FALSE){ //g_debug("problem loading the downloaded image just use the placeholder instead"); + gtk_widget_set_size_request(GTK_WIDGET(priv->album_art), 60, 60); draw_album_art_placeholder(metadata); return TRUE; } @@ -210,6 +211,7 @@ metadata_image_expose (GtkWidget *metadata, GdkEventExpose *event, gpointer user } return FALSE; } + gtk_widget_set_size_request(GTK_WIDGET(priv->album_art), 60, 60); draw_album_art_placeholder(metadata); return TRUE; } -- cgit v1.2.3