aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-07-26 11:50:21 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2011-07-26 11:50:21 +0800
commitd954376bde5deb4cadfc55e510b703d946ede93f (patch)
tree7c4386a29ad76230fa4bbfdb322d338e6bd0e480 /libempathy-gtk
parentf544815fbc8ccc9e0f35bfbcdbed4692ef1ab8e6 (diff)
downloadgsoc2013-empathy-d954376bde5deb4cadfc55e510b703d946ede93f.tar
gsoc2013-empathy-d954376bde5deb4cadfc55e510b703d946ede93f.tar.gz
gsoc2013-empathy-d954376bde5deb4cadfc55e510b703d946ede93f.tar.bz2
gsoc2013-empathy-d954376bde5deb4cadfc55e510b703d946ede93f.tar.lz
gsoc2013-empathy-d954376bde5deb4cadfc55e510b703d946ede93f.tar.xz
gsoc2013-empathy-d954376bde5deb4cadfc55e510b703d946ede93f.tar.zst
gsoc2013-empathy-d954376bde5deb4cadfc55e510b703d946ede93f.zip
Apply the same fix to EmpathyContactListView
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-list-view.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index 2b0b51a36..4b2febd30 100644
--- a/libempathy-gtk/empathy-contact-list-view.c
+++ b/libempathy-gtk/empathy-contact-list-view.c
@@ -697,14 +697,14 @@ contact_list_view_drag_begin (GtkWidget *widget,
priv = GET_PRIV (widget);
- GTK_WIDGET_CLASS (empathy_contact_list_view_parent_class)->drag_begin (widget,
- context);
-
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (widget));
if (!gtk_tree_selection_get_selected (selection, &model, &iter)) {
return;
}
+ GTK_WIDGET_CLASS (empathy_contact_list_view_parent_class)->drag_begin (widget,
+ context);
+
path = gtk_tree_model_get_path (model, &iter);
priv->drag_row = gtk_tree_row_reference_new (model, path);
gtk_tree_path_free (path);