diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-06-21 00:27:06 +0800 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-07-10 20:13:24 +0800 |
commit | 7deb4ea20b08eab10473f2620c90f6b896d5af10 (patch) | |
tree | 0658af67eae180a741bd65a3e92ffe92e8faf497 /libempathy-gtk/empathy-avatar-image.c | |
parent | fb43069972c8eccefcf1beb28251d1ed23c4a20c (diff) | |
download | gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.gz gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.bz2 gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.lz gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.xz gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.zst gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.zip |
Use accessor functions instead direct access (Fixes #586476)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'libempathy-gtk/empathy-avatar-image.c')
-rw-r--r-- | libempathy-gtk/empathy-avatar-image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-avatar-image.c b/libempathy-gtk/empathy-avatar-image.c index d430c0fa6..f7898e1bd 100644 --- a/libempathy-gtk/empathy-avatar-image.c +++ b/libempathy-gtk/empathy-avatar-image.c @@ -232,7 +232,7 @@ avatar_image_button_press_event (GtkWidget *widget, GdkEventButton *event) gtk_image_set_from_pixbuf (GTK_IMAGE (image), pixbuf); g_object_unref (pixbuf); - gdk_window_get_origin (priv->image->window, &x, &y); + gdk_window_get_origin (gtk_widget_get_window (priv->image), &x, &y); x = x - (popup_width - width) / 2; y = y - (popup_height - height) / 2; |