aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window-fullscreen.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-06-21 00:27:06 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-07-10 20:13:24 +0800
commit7deb4ea20b08eab10473f2620c90f6b896d5af10 (patch)
tree0658af67eae180a741bd65a3e92ffe92e8faf497 /src/empathy-call-window-fullscreen.c
parentfb43069972c8eccefcf1beb28251d1ed23c4a20c (diff)
downloadgsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar
gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.gz
gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.bz2
gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.lz
gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.xz
gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.zst
gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.zip
Use accessor functions instead direct access (Fixes #586476)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src/empathy-call-window-fullscreen.c')
-rw-r--r--src/empathy-call-window-fullscreen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/empathy-call-window-fullscreen.c b/src/empathy-call-window-fullscreen.c
index 33f4085b3..e1c3d7a39 100644
--- a/src/empathy-call-window-fullscreen.c
+++ b/src/empathy-call-window-fullscreen.c
@@ -71,11 +71,11 @@ empathy_call_window_fullscreen_set_cursor_visible (
if (priv->video_widget != NULL && !show_cursor)
{
- gdk_window_set_cursor (priv->video_widget->window,
+ gdk_window_set_cursor (gtk_widget_get_window (priv->video_widget),
gdk_cursor_new (GDK_BLANK_CURSOR));
}
else
- gdk_window_set_cursor (priv->video_widget->window, NULL);
+ gdk_window_set_cursor (gtk_widget_get_window (priv->video_widget), NULL);
}
static void
@@ -130,7 +130,7 @@ empathy_call_window_fullscreen_show_popup (EmpathyCallWindowFullscreen *self)
screen = gtk_window_get_screen (GTK_WINDOW (priv->parent_window));
gdk_screen_get_monitor_geometry (screen,
gdk_screen_get_monitor_at_window (screen,
- GTK_WIDGET (priv->parent_window)->window),
+ gtk_widget_get_window (GTK_WIDGET (priv->parent_window))),
&fullscreen_rect);
/* Getting the popup window sizes */