[nautilus/gnome-2-32: 173/283] [file-manager] GSEAL fm-tree-view.



commit d138927e8d51a4e29dba87ff24e4b1a6ce042994
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Jun 11 13:19:50 2010 +0200

    [file-manager] GSEAL fm-tree-view.

 src/file-manager/fm-tree-view.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/file-manager/fm-tree-view.c b/src/file-manager/fm-tree-view.c
index fc63502..5bf8f0a 100644
--- a/src/file-manager/fm-tree-view.c
+++ b/src/file-manager/fm-tree-view.c
@@ -665,8 +665,8 @@ clipboard_contents_received_callback (GtkClipboard     *clipboard,
 
 	view = FM_TREE_VIEW (data);
 
-	if (selection_data->type == copied_files_atom
-	    && selection_data->length > 0 &&
+	if (gtk_selection_data_get_data_type (selection_data) == copied_files_atom
+	    && gtk_selection_data_get_length (selection_data) > 0 &&
 	    view->details->popup != NULL) {
 		gtk_widget_set_sensitive (view->details->popup_paste, TRUE);
 	}
@@ -1449,7 +1449,7 @@ parent_set_callback (GtkWidget        *widget,
 
 	view = FM_TREE_VIEW (callback_data);
 
-	if (widget->parent != NULL && view->details->tree_widget == NULL) {
+	if (gtk_widget_get_parent (widget) != NULL && view->details->tree_widget == NULL) {
 		create_tree (view);
 		update_filtering_from_preferences (view);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]