diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-09-16 19:47:03 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-09-27 21:28:49 +0800 |
commit | a277446bfd4a3a351e32b7704f5cb0dec109c17f (patch) | |
tree | 6efe189b39c0d64254ee1008696c2b686426cd5b /src/empathy-call-window-fullscreen.c | |
parent | 90d80cd4646694f544f95aa6af0dcf4e40b9dfb7 (diff) | |
download | gsoc2013-empathy-a277446bfd4a3a351e32b7704f5cb0dec109c17f.tar gsoc2013-empathy-a277446bfd4a3a351e32b7704f5cb0dec109c17f.tar.gz gsoc2013-empathy-a277446bfd4a3a351e32b7704f5cb0dec109c17f.tar.bz2 gsoc2013-empathy-a277446bfd4a3a351e32b7704f5cb0dec109c17f.tar.lz gsoc2013-empathy-a277446bfd4a3a351e32b7704f5cb0dec109c17f.tar.xz gsoc2013-empathy-a277446bfd4a3a351e32b7704f5cb0dec109c17f.tar.zst gsoc2013-empathy-a277446bfd4a3a351e32b7704f5cb0dec109c17f.zip |
empathy_call_window_fullscreen_set_cursor_visible: clean up function
Diffstat (limited to 'src/empathy-call-window-fullscreen.c')
-rw-r--r-- | src/empathy-call-window-fullscreen.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/empathy-call-window-fullscreen.c b/src/empathy-call-window-fullscreen.c index 7827cdb76..966d49add 100644 --- a/src/empathy-call-window-fullscreen.c +++ b/src/empathy-call-window-fullscreen.c @@ -68,17 +68,17 @@ empathy_call_window_fullscreen_set_cursor_visible ( gboolean show_cursor) { EmpathyCallWindowFullscreenPriv *priv = GET_PRIV (fs); + GdkWindow *window; if (priv->video_widget == NULL) return; + window = gtk_widget_get_window (priv->video_widget); + if (!show_cursor) - { - gdk_window_set_cursor (gtk_widget_get_window (priv->video_widget), - gdk_cursor_new (GDK_BLANK_CURSOR)); - } + gdk_window_set_cursor (window, gdk_cursor_new (GDK_BLANK_CURSOR)); else - gdk_window_set_cursor (gtk_widget_get_window (priv->video_widget), NULL); + gdk_window_set_cursor (window, NULL); } static void |