File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ public class Files.Application : Gtk.Application {
3232
3333 private VolumeMonitor volume_monitor;
3434 private Progress . UIHandler progress_handler;
35- private ClipboardManager clipboard;
3635 private Gtk . RecentManager recent;
3736
3837 private const int MARLIN_ACCEL_MAP_SAVE_DELAY = 15 ;
@@ -136,7 +135,6 @@ public class Files.Application : Gtk.Application {
136135
137136 progress_handler = new Progress .UIHandler ();
138137
139- this . clipboard = ClipboardManager . get_for_display ();
140138 this . recent = new Gtk .RecentManager ();
141139
142140 /* Global static variable "plugins" declared in PluginManager.vala */
@@ -174,10 +172,6 @@ public class Files.Application : Gtk.Application {
174172 set_accels_for_action (" app.quit" , { " <Ctrl>Q" });
175173 }
176174
177- public unowned ClipboardManager get_clipboard_manager () {
178- return this . clipboard;
179- }
180-
181175 public unowned Gtk .RecentManager get_recent_manager () {
182176 return this . recent;
183177 }
@@ -246,8 +240,6 @@ public class Files.Application : Gtk.Application {
246240 base . quit ();
247241 }
248242
249-
250-
251243 private void mount_removed_callback (VolumeMonitor monitor , Mount mount ) {
252244 /* Notify each window */
253245 foreach (var window in this . get_windows ()) {
Original file line number Diff line number Diff line change @@ -169,7 +169,6 @@ namespace Files {
169169 construct {
170170 set_up_additional_menu_actions ();
171171 var app = (Files . Application )(GLib . Application . get_default ());
172- clipboard = app. get_clipboard_manager ();
173172 recent = app. get_recent_manager ();
174173 app. set_accels_for_action (" common.select-all" , {" <Ctrl>A" });
175174 app. set_accels_for_action (" selection.invert-selection" , {" <Shift><Ctrl>A" });
You can’t perform that action at this time.
0 commit comments