aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-call-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-call-window.c')
-rw-r--r--libempathy-gtk/empathy-call-window.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-call-window.c b/libempathy-gtk/empathy-call-window.c
index 5cd62d1ce..7b3ebc2b5 100644
--- a/libempathy-gtk/empathy-call-window.c
+++ b/libempathy-gtk/empathy-call-window.c
@@ -196,8 +196,8 @@ call_window_delete_event_cb (GtkWidget *widget,
call_window_stop_timeout (window);
call_window_set_output_video_is_drawing (window, FALSE);
empathy_tp_call_close_channel (window->call);
- empathy_tp_call_remove_preview_video (gtk_socket_get_id (GTK_SOCKET
- (window->preview_video_socket)));
+ empathy_tp_call_remove_preview_video (window->call,
+ gtk_socket_get_id (GTK_SOCKET (window->preview_video_socket)));
return FALSE;
default:
return TRUE;
@@ -205,8 +205,8 @@ call_window_delete_event_cb (GtkWidget *widget,
}
else
{
- empathy_tp_call_remove_preview_video (gtk_socket_get_id (GTK_SOCKET
- (window->preview_video_socket)));
+ empathy_tp_call_remove_preview_video (window->call,
+ gtk_socket_get_id (GTK_SOCKET (window->preview_video_socket)));
return FALSE;
}
}
@@ -344,8 +344,8 @@ call_window_socket_realized_cb (GtkWidget *widget,
if (widget == window->preview_video_socket)
{
empathy_debug (DEBUG_DOMAIN, "Preview socket realized");
- empathy_tp_call_add_preview_video (gtk_socket_get_id (GTK_SOCKET
- (window->preview_video_socket)));
+ empathy_tp_call_add_preview_video (window->call,
+ gtk_socket_get_id (GTK_SOCKET (window->preview_video_socket)));
}
else
{