Пример #1
0
static void
attachment_button_expand_drag_end_cb (EAttachmentButton *button,
                                      GdkDragContext *context)
{
	EAttachmentView *view;

	view = e_attachment_button_get_view (button);

	e_attachment_view_drag_end (view, context);
}
Пример #2
0
static void
attachment_icon_view_drag_end (GtkWidget *widget,
                               GdkDragContext *context)
{
	EAttachmentView *view = E_ATTACHMENT_VIEW (widget);

	/* Chain up to parent's drag_end() method. */
	GTK_WIDGET_CLASS (e_attachment_icon_view_parent_class)->
		drag_end (widget, context);

	e_attachment_view_drag_end (view, context);
}