[ease/themes] [editor] Fixed thumbnail background size.



commit a045e6955096f909d221f82769fe21075dabda9e
Author: Nate Stedman <natesm gmail com>
Date:   Thu Jul 22 15:46:36 2010 -0400

    [editor] Fixed thumbnail background size.
    
    - Thumbnail backgrounds were scaled down twice.

 src/ease-slide-button-panel.vala |    2 +-
 src/ease-slide.vala              |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ease-slide-button-panel.vala b/src/ease-slide-button-panel.vala
index dcfde9b..d75a751 100644
--- a/src/ease-slide-button-panel.vala
+++ b/src/ease-slide-button-panel.vala
@@ -150,7 +150,7 @@ public class Ease.SlideButtonPanel : Gtk.ScrolledWindow
 		
 		try
 		{
-			slide.cairo_render_sized(context, width, height);
+			slide.cairo_render(context);
 		}
 		catch (GLib.Error e)
 		{
diff --git a/src/ease-slide.vala b/src/ease-slide.vala
index e2c6729..34939d5 100644
--- a/src/ease-slide.vala
+++ b/src/ease-slide.vala
@@ -248,7 +248,7 @@ public class Ease.Slide : GLib.Object
 	 * @param h The height to render at.
 	 */
 	public void cairo_render_sized(Cairo.Context context,
-	                                int w, int h) throws GLib.Error
+	                               int w, int h) throws GLib.Error
 	{
 		// write the background color if there is no image
 		if (background_image == null)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]