aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-avatar-chooser.c
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2010-06-11 15:51:39 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2010-06-12 08:07:20 +0800
commit468edbcfb17c5d67d945debf2f019dfd9974ccf9 (patch)
tree82dcd67d2f442f398e9468103a58dacfc1a4eead /libempathy-gtk/empathy-avatar-chooser.c
parentfeda58b5da761dce7c18a2cb2d4531481fe3bfce (diff)
downloadgsoc2013-empathy-468edbcfb17c5d67d945debf2f019dfd9974ccf9.tar
gsoc2013-empathy-468edbcfb17c5d67d945debf2f019dfd9974ccf9.tar.gz
gsoc2013-empathy-468edbcfb17c5d67d945debf2f019dfd9974ccf9.tar.bz2
gsoc2013-empathy-468edbcfb17c5d67d945debf2f019dfd9974ccf9.tar.lz
gsoc2013-empathy-468edbcfb17c5d67d945debf2f019dfd9974ccf9.tar.xz
gsoc2013-empathy-468edbcfb17c5d67d945debf2f019dfd9974ccf9.tar.zst
gsoc2013-empathy-468edbcfb17c5d67d945debf2f019dfd9974ccf9.zip
Access GdkDragContext members via getters
Diffstat (limited to 'libempathy-gtk/empathy-avatar-chooser.c')
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-avatar-chooser.c b/libempathy-gtk/empathy-avatar-chooser.c
index 6e6c28310..7a39f65f1 100644
--- a/libempathy-gtk/empathy-avatar-chooser.c
+++ b/libempathy-gtk/empathy-avatar-chooser.c
@@ -725,7 +725,8 @@ avatar_chooser_drag_motion_cb (GtkWidget *widget,
priv = GET_PRIV (chooser);
- for (p = context->targets; p != NULL; p = p->next) {
+ for (p = gdk_drag_context_list_targets (context); p != NULL;
+ p = p->next) {
gchar *possible_type;
possible_type = gdk_atom_name (GDK_POINTER_TO_ATOM (p->data));
@@ -764,11 +765,12 @@ avatar_chooser_drag_drop_cb (GtkWidget *widget,
priv = GET_PRIV (chooser);
- if (context->targets == NULL) {
+ if (gdk_drag_context_list_targets (context) == NULL) {
return FALSE;
}
- for (p = context->targets; p != NULL; p = p->next) {
+ for (p = gdk_drag_context_list_targets (context);
+ p != NULL; p = p->next) {
char *possible_type;
possible_type = gdk_atom_name (GDK_POINTER_TO_ATOM (p->data));