diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2011-07-26 16:19:39 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2011-07-26 16:19:39 +0800 |
commit | 5a56118ce05c8b0579e4a7397d9c57fdd3b01937 (patch) | |
tree | 916f696113bf01c529719c254a13116a50a25fb3 /libempathy-gtk/empathy-individual-view.c | |
parent | e10a0655a4eb8c36f232d533078bcf6b8e7fdbd0 (diff) | |
parent | d954376bde5deb4cadfc55e510b703d946ede93f (diff) | |
download | gsoc2013-empathy-5a56118ce05c8b0579e4a7397d9c57fdd3b01937.tar gsoc2013-empathy-5a56118ce05c8b0579e4a7397d9c57fdd3b01937.tar.gz gsoc2013-empathy-5a56118ce05c8b0579e4a7397d9c57fdd3b01937.tar.bz2 gsoc2013-empathy-5a56118ce05c8b0579e4a7397d9c57fdd3b01937.tar.lz gsoc2013-empathy-5a56118ce05c8b0579e4a7397d9c57fdd3b01937.tar.xz gsoc2013-empathy-5a56118ce05c8b0579e4a7397d9c57fdd3b01937.tar.zst gsoc2013-empathy-5a56118ce05c8b0579e4a7397d9c57fdd3b01937.zip |
Merge remote-tracking branch 'danni/drag-n-drop-558942'
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r-- | libempathy-gtk/empathy-individual-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c index 0fb24430c..db63f0c0d 100644 --- a/libempathy-gtk/empathy-individual-view.c +++ b/libempathy-gtk/empathy-individual-view.c @@ -811,13 +811,13 @@ individual_view_drag_begin (GtkWidget *widget, priv = GET_PRIV (widget); - GTK_WIDGET_CLASS (empathy_individual_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_individual_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); |