[gtk+] gtk/gtkiconview.c: Use accessor functions to access GtkSelectionData
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk/gtkiconview.c: Use accessor functions to access GtkSelectionData
- Date: Thu, 16 Dec 2010 00:07:48 +0000 (UTC)
commit fbbe9f519111f1119784dfcb03e7211c4bb6407d
Author: Javier Jardón <jjardon gnome org>
Date: Wed Dec 15 23:55:04 2010 +0000
gtk/gtkiconview.c: Use accessor functions to access GtkSelectionData
gtk/gtkiconview.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 1df2a7d..e4da1a0 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -7037,7 +7037,7 @@ gtk_icon_view_drag_data_get (GtkWidget *widget,
goto done;
/* If drag_data_get does nothing, try providing row data. */
- if (selection_data->target == gdk_atom_intern_static_string ("GTK_TREE_MODEL_ROW"))
+ if (gtk_selection_data_get_target (selection_data) == gdk_atom_intern_static_string ("GTK_TREE_MODEL_ROW"))
gtk_tree_set_row_drag_data (selection_data,
model,
source_row);
@@ -7274,7 +7274,7 @@ gtk_icon_view_drag_data_received (GtkWidget *widget,
if (dest_row == NULL)
return;
- if (selection_data->length >= 0)
+ if (gtk_selection_data_get_length (selection_data) >= 0)
{
if (gtk_tree_drag_dest_drag_data_received (GTK_TREE_DRAG_DEST (model),
dest_row,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]