aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-10 18:10:14 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-15 19:14:55 +0800
commitf0eb3e344d09a63de219f71df85cbc2c8135cbd8 (patch)
treed847432864fde6463abd0c96f4a40600b9abc96d /src/empathy-call-window.c
parent4966277ef79ce962260764ed32408b5c1c73ddb9 (diff)
downloadgsoc2013-empathy-f0eb3e344d09a63de219f71df85cbc2c8135cbd8.tar
gsoc2013-empathy-f0eb3e344d09a63de219f71df85cbc2c8135cbd8.tar.gz
gsoc2013-empathy-f0eb3e344d09a63de219f71df85cbc2c8135cbd8.tar.bz2
gsoc2013-empathy-f0eb3e344d09a63de219f71df85cbc2c8135cbd8.tar.lz
gsoc2013-empathy-f0eb3e344d09a63de219f71df85cbc2c8135cbd8.tar.xz
gsoc2013-empathy-f0eb3e344d09a63de219f71df85cbc2c8135cbd8.tar.zst
gsoc2013-empathy-f0eb3e344d09a63de219f71df85cbc2c8135cbd8.zip
Use self->priv->preview_pos to determine the preview position
https://bugzilla.gnome.org/show_bug.cgi?id=656268
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 7f7ee8cd2..6fc9cf8e1 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);