aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-07 21:41:05 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-07 21:49:19 +0800
commit85063c344a4dada140b609c726118a889e4e09ac (patch)
tree644f55588c0b003971bebcef146669ccb78c2a39 /src
parent3dffe8d0ebce77eded0b7e9ed70ac03b09d0090e (diff)
downloadgsoc2013-empathy-85063c344a4dada140b609c726118a889e4e09ac.tar
gsoc2013-empathy-85063c344a4dada140b609c726118a889e4e09ac.tar.gz
gsoc2013-empathy-85063c344a4dada140b609c726118a889e4e09ac.tar.bz2
gsoc2013-empathy-85063c344a4dada140b609c726118a889e4e09ac.tar.lz
gsoc2013-empathy-85063c344a4dada140b609c726118a889e4e09ac.tar.xz
gsoc2013-empathy-85063c344a4dada140b609c726118a889e4e09ac.tar.zst
gsoc2013-empathy-85063c344a4dada140b609c726118a889e4e09ac.zip
call-window: use gtk_widget_get_allocation()
Diffstat (limited to 'src')
-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)
{