From 2c31a5bc23cf5a092c0621bf34554ffb2b6ae2ec Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Tue, 8 Feb 2011 11:57:50 -0500 Subject: Bug 641756 - Fix warnings from GCC 4.6 GCC learned how to find dead assignments. --- widgets/misc/e-attachment-view.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'widgets/misc/e-attachment-view.c') diff --git a/widgets/misc/e-attachment-view.c b/widgets/misc/e-attachment-view.c index 0a3a29aa77..d22ccd5754 100644 --- a/widgets/misc/e-attachment-view.c +++ b/widgets/misc/e-attachment-view.c @@ -1286,7 +1286,6 @@ e_attachment_view_motion_notify_event (EAttachmentView *view, { EAttachmentViewPrivate *priv; GtkWidget *widget = GTK_WIDGET (view); - GdkDragContext *context; GtkTargetList *targets; g_return_val_if_fail (E_IS_ATTACHMENT_VIEW (view), FALSE); @@ -1307,7 +1306,7 @@ e_attachment_view_motion_notify_event (EAttachmentView *view, targets = gtk_drag_source_get_target_list (widget); - context = gtk_drag_begin ( + gtk_drag_begin ( widget, targets, GDK_ACTION_COPY, 1, (GdkEvent *) event); return TRUE; -- cgit v1.2.3