diff options
author | Jonathan Blandford <jrb@redhat.com> | 2001-03-15 23:21:39 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-03-15 23:21:39 +0000 |
commit | e4d1660042a437b041422ac442ee4845fbf7e6b6 (patch) | |
tree | 10b09bc64b280eb911725d9060d0e721419b961d /tests/testdnd.c | |
parent | 872efdd9a527e472e5f2724138344fdef3839df4 (diff) | |
download | gtk+-e4d1660042a437b041422ac442ee4845fbf7e6b6.tar.gz |
Changed prototype to allow for getting the location of the cell relative
Thu Mar 15 18:22:44 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrenderer.h: Changed prototype to allow for getting
the location of the cell relative to its area.
* gtk/gtkcell*: modified for above change
* gtk/gtktreeview.c: modified for above change.
Wed Mar 14 13:58:32 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_model): Ref the model.
(gtk_tree_view_finalize): actually unref the model. Thanks to
Jamie Strachan <frostfreek@yahoo.com> for noticing this error.
Diffstat (limited to 'tests/testdnd.c')
-rw-r--r-- | tests/testdnd.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testdnd.c b/tests/testdnd.c index 203272996d..a35115fec1 100644 --- a/tests/testdnd.c +++ b/tests/testdnd.c @@ -303,6 +303,7 @@ target_drag_motion (GtkWidget *widget, guint time) { GtkWidget *source_widget; + GList *tmp_list; if (!have_drag) { @@ -315,6 +316,16 @@ target_drag_motion (GtkWidget *widget, GTK_OBJECT_TYPE_NAME (source_widget) : "NULL"); + tmp_list = context->targets; + while (tmp_list) + { + char *name = gdk_atom_name (GPOINTER_TO_UINT (tmp_list->data)); + g_print ("%s\n", name); + g_free (name); + + tmp_list = tmp_list->next; + } + gdk_drag_status (context, context->suggested_action, time); return TRUE; } |