summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-04-07 03:54:57 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-04-07 03:54:57 +0000
commitebc65e70a9f06821cf6d57e6bf818eb818dc2763 (patch)
tree4acb41b3587a7ffcc6c64daa6762e8d18cb42ef7
parentaccb923fd77ac869bd4cd06c383b8080b1666f68 (diff)
downloadgtk+-ebc65e70a9f06821cf6d57e6bf818eb818dc2763.tar.gz
Pass the target list to the underlying dnd implementation, otherwise we
2005-04-06 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source) (gtk_tree_view_enable_model_drag_dest): Pass the target list to the underlying dnd implementation, otherwise we miss the target info in the drag-data-received signal. (#164085, Jorn Baayen)
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--gtk/gtktreeview.c8
4 files changed, 22 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 3da0c9d553..95e2a7f496 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2005-04-06 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source)
+ (gtk_tree_view_enable_model_drag_dest): Pass the target list
+ to the underlying dnd implementation, otherwise we miss the
+ target info in the drag-data-received signal. (#164085, Jorn
+ Baayen)
+
* gtk/*.c, gdk/gdkdisplaymanager.c: Use canonical property
names for g_object_notify() calls. (#171746, Morten Welinder)
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 3da0c9d553..95e2a7f496 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,5 +1,11 @@
2005-04-06 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source)
+ (gtk_tree_view_enable_model_drag_dest): Pass the target list
+ to the underlying dnd implementation, otherwise we miss the
+ target info in the drag-data-received signal. (#164085, Jorn
+ Baayen)
+
* gtk/*.c, gdk/gdkdisplaymanager.c: Use canonical property
names for g_object_notify() calls. (#171746, Morten Welinder)
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 3da0c9d553..95e2a7f496 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,5 +1,11 @@
2005-04-06 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source)
+ (gtk_tree_view_enable_model_drag_dest): Pass the target list
+ to the underlying dnd implementation, otherwise we miss the
+ target info in the drag-data-received signal. (#164085, Jorn
+ Baayen)
+
* gtk/*.c, gdk/gdkdisplaymanager.c: Use canonical property
names for g_object_notify() calls. (#171746, Morten Welinder)
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 515b724921..ec56ff9f13 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -11636,8 +11636,8 @@ gtk_tree_view_enable_model_drag_source (GtkTreeView *tree_view,
gtk_drag_source_set (GTK_WIDGET (tree_view),
0,
- NULL,
- 0,
+ targets,
+ n_targets,
actions);
di = ensure_info (tree_view);
@@ -11674,8 +11674,8 @@ gtk_tree_view_enable_model_drag_dest (GtkTreeView *tree_view,
gtk_drag_dest_set (GTK_WIDGET (tree_view),
0,
- NULL,
- 0,
+ targets,
+ n_targets,
actions);
di = ensure_info (tree_view);