[vino] Fixed dereferencing issue overlooked on merge.



commit 04362cc734dd7b4f747e6be44339a0a445973916
Author: Chris Kühl <chrisk openismus com>
Date:   Wed Feb 23 15:52:11 2011 +0100

    Fixed dereferencing issue overlooked on merge.

 server/vino-fb.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/server/vino-fb.c b/server/vino-fb.c
index 39f5354..9395fb3 100644
--- a/server/vino-fb.c
+++ b/server/vino-fb.c
@@ -571,7 +571,7 @@ vino_fb_xdamage_idle_handler (VinoFB *vfb)
   xdamage.height = damage.height;
 
   dprintf (POLLING, "Updating damaged region in idle: %d %d %dx%d\n",
-	   damage->x, damage->y, damage->width, damage->height);
+	   damage.x, damage.y, damage.width, damage.height);
 
   /* subtract damage from server */
   XFixesSetRegion (vfb->priv->xdisplay, vfb->priv->xdamage_region, &xdamage, 1);
@@ -622,10 +622,10 @@ vino_fb_xdamage_idle_handler (VinoFB *vfb)
       g_warning ("Received a '%s' X Window System error while copying damaged pixels",
 		 error_text);
       g_warning ("Failed image = %d, %d %dx%d - screen = %dx%d",
-		 damage->x,
-		 damage->y,
-		 damage->width,
-		 damage->height,
+		 damage.x,
+		 damage.y,
+		 damage.width,
+		 damage.height,
 		 gdk_screen_get_width (vfb->priv->screen),
 		 gdk_screen_get_height (vfb->priv->screen));
 #endif



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