aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-08 20:35:53 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-08 20:35:53 +0800
commit0637683a2f89087f49fa0d91e44b04ed26d72ba3 (patch)
tree7f0d367d965831cc45b3091d28b7fdee8ebb011f /src/empathy-call-window.c
parent526cac765322aa7516d46d735fc9b5f1c4f2c228 (diff)
parent6b1d4251dc32cf7c75871002a1f8163af9775f65 (diff)
downloadgsoc2013-empathy-0637683a2f89087f49fa0d91e44b04ed26d72ba3.tar
gsoc2013-empathy-0637683a2f89087f49fa0d91e44b04ed26d72ba3.tar.gz
gsoc2013-empathy-0637683a2f89087f49fa0d91e44b04ed26d72ba3.tar.bz2
gsoc2013-empathy-0637683a2f89087f49fa0d91e44b04ed26d72ba3.tar.lz
gsoc2013-empathy-0637683a2f89087f49fa0d91e44b04ed26d72ba3.tar.xz
gsoc2013-empathy-0637683a2f89087f49fa0d91e44b04ed26d72ba3.tar.zst
gsoc2013-empathy-0637683a2f89087f49fa0d91e44b04ed26d72ba3.zip
Merge branch 'gtk3-621753'
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 5fd232bc6..a8d1c40fa 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1247,8 +1247,10 @@ contact_avatar_changed_cb (EmpathyContact *contact,
GParamSpec *pspec, GtkWidget *avatar_widget)
{
int size;
+ GtkAllocation allocation;
- size = avatar_widget->allocation.height;
+ gtk_widget_get_allocation (avatar_widget, &allocation);
+ size = allocation.height;
if (size == 0)
{