diff options
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r-- | src/empathy-call-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 0fd81ee04..dac9b6462 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -707,8 +707,8 @@ empathy_call_window_get_preview_position (EmpathyCallWindow *self, ClutterGeometry box; PreviewPosition pos = PREVIEW_POS_NONE; - g_return_val_if_fail (clutter_actor_has_allocation (self->priv->video_box), - pos); + if (!clutter_actor_has_allocation (self->priv->video_box)) + return pos; clutter_actor_get_geometry (self->priv->video_box, &box); |