brasero r879 - in trunk: . src



Author: lmedinas
Date: Wed Jun 11 01:02:26 2008
New Revision: 879
URL: http://svn.gnome.org/viewvc/brasero?rev=879&view=rev

Log:
2008-06-11  Luis Medinas  <lmedinas svn gnome org>

        * src/brasero-jacket-view.c
        (brasero_jacket_view_update_edit_image):

        Fix centered window display on cover editor. Fixes bgo #536189.



Modified:
   trunk/ChangeLog
   trunk/src/brasero-jacket-view.c

Modified: trunk/src/brasero-jacket-view.c
==============================================================================
--- trunk/src/brasero-jacket-view.c	(original)
+++ trunk/src/brasero-jacket-view.c	Wed Jun 11 01:02:26 2008
@@ -869,7 +869,7 @@
 				gdk_draw_pixbuf (GDK_DRAWABLE (pixmap),
 						 NULL,
 						 priv->scaled,
-						(gdk_pixbuf_get_width (priv->scaled) - width)/ 2,
+						(gdk_pixbuf_get_width (priv->scaled) - width) / 2,
 						(gdk_pixbuf_get_height (priv->scaled) - height) / 2,
 						 0, 0,
 						 width,
@@ -882,8 +882,8 @@
 						 NULL,
 						 priv->scaled,
 						 0, 0,
-						 width - gdk_pixbuf_get_width (priv->scaled) / 2,
-						 height - gdk_pixbuf_get_height (priv->scaled) / 2,
+						 (width - gdk_pixbuf_get_width (priv->scaled)) / 2,
+						 (height - gdk_pixbuf_get_height (priv->scaled)) / 2,
 						 -1,
 						 -1,
 						 GDK_RGB_DITHER_NORMAL,



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