[gtk+] placesview: Remove duplicate GtkMountOperation assignment



commit 9c347c30127c8cde816943ba4f8a5585c7bc5004
Author: Timm Bäder <mail baedert org>
Date:   Sun Apr 30 20:20:58 2017 +0200

    placesview: Remove duplicate GtkMountOperation assignment
    
    we assign a new mount operation a few lines later again.

 gtk/gtkplacesview.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 1e6ba34..e526e6d 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -1418,7 +1418,6 @@ unmount_mount (GtkPlacesView *view,
 
   priv = gtk_places_view_get_instance_private (view);
   toplevel = gtk_widget_get_toplevel (GTK_WIDGET (view));
-  operation = gtk_mount_operation_new (GTK_WINDOW (toplevel));
 
   g_cancellable_cancel (priv->cancellable);
   g_clear_object (&priv->cancellable);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]