From 13c5202cd9f214fddaa95ac259544efc9cd70bd5 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Mon, 20 Aug 2001 23:31:16 +0000 Subject: fix arg info - we're only passing 1 GTK_TYPE_POINTER arg, not 2. 2001-08-20 Chris Toshok * gui/widgets/e-addressbook-reflow-adapter.c (e_addressbook_reflow_adapter_class_init): fix arg info - we're only passing 1 GTK_TYPE_POINTER arg, not 2. * gui/widgets/e-minicard.c (e_minicard_event): lots of fixes for DnD. For GDK_BUTTON_PRESS, we grab immediately. For GDK_BUTTON_MOTION, we start the drag after a certain threshold, and connect to the "drag_end" signal on our canvas so we'll know when the drag is complete. For GDK_BUTTON_RELEASE, we release the grab if we were dragging and get the event. (e_minicard_drag_end): new function, just remove the pointer/gtk grabs and disconnect. * gui/widgets/e-minicard.h (struct _EMinicard): add "gint drag_button" svn path=/trunk/; revision=12331 --- addressbook/gui/widgets/e-addressbook-reflow-adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui/widgets/e-addressbook-reflow-adapter.c') diff --git a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c index b9f4917015..97ceb36a1f 100644 --- a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c +++ b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c @@ -548,7 +548,7 @@ e_addressbook_reflow_adapter_class_init (GtkObjectClass *object_class) object_class->type, GTK_SIGNAL_OFFSET (EAddressbookReflowAdapterClass, drag_begin), gtk_marshal_INT__POINTER, - GTK_TYPE_INT, 2, GTK_TYPE_POINTER, GTK_TYPE_POINTER); + GTK_TYPE_INT, 1, GTK_TYPE_POINTER); gtk_object_class_add_signals (object_class, e_addressbook_reflow_adapter_signals, LAST_SIGNAL); -- cgit v1.2.3