[empathy: 13/18] Use self->priv->preview_pos to determine the preview position



commit f0eb3e344d09a63de219f71df85cbc2c8135cbd8
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Wed Aug 10 11:10:14 2011 +0100

    Use self->priv->preview_pos to determine the preview position
    
    https://bugzilla.gnome.org/show_bug.cgi?id=656268

 src/empathy-call-window.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 7f7ee8c..6fc9cf8 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -840,10 +840,9 @@ empathy_call_window_preview_leave_event_cb (ClutterActor *actor,
     EmpathyCallWindow *self)
 {
   ClutterActor *rectangle;
-  PreviewPosition pos;
 
-  pos = empathy_call_window_get_preview_position (self, event->x, event->y);
-  rectangle = empathy_call_window_get_preview_rectangle (self, pos);
+  rectangle = empathy_call_window_get_preview_rectangle (self,
+      self->priv->preview_pos);
 
   empathy_call_window_darken_preview_rectangle (self, rectangle);
 



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