From d7a97b9728628830ff8f9cd533d8a57cc7c92ed9 Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Wed, 31 Oct 2001 21:55:55 +0000 Subject: rename gtk_selection_data_set_tree_row, #60218 Wed Oct 31 16:53:48 2001 Jonathan Blandford * gtk/gtktreednd.c (gtk_tree_set_row_drag_data): rename gtk_selection_data_set_tree_row, #60218 (gtk_tree_get_row_drag_data): rename gtk_selection_data_get_tree_row, #60218 * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): Actually get this right, after the third try, #63122. --- gtk/gtkliststore.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gtk/gtkliststore.c') diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c index 77c1df072b..ebb6fd2a33 100644 --- a/gtk/gtkliststore.c +++ b/gtk/gtkliststore.c @@ -1278,9 +1278,9 @@ gtk_list_store_drag_data_get (GtkTreeDragSource *drag_source, * default handler. */ - if (gtk_selection_data_set_tree_row (selection_data, - GTK_TREE_MODEL (drag_source), - path)) + if (gtk_tree_set_row_drag_data (selection_data, + GTK_TREE_MODEL (drag_source), + path)) { return TRUE; } @@ -1308,9 +1308,9 @@ gtk_list_store_drag_data_received (GtkTreeDragDest *drag_dest, tree_model = GTK_TREE_MODEL (drag_dest); list_store = GTK_LIST_STORE (drag_dest); - if (gtk_selection_data_get_tree_row (selection_data, - &src_model, - &src_path) && + if (gtk_tree_get_row_drag_data (selection_data, + &src_model, + &src_path) && src_model == tree_model) { /* Copy the given row to a new position */ -- cgit v1.2.1