summaryrefslogtreecommitdiff
path: root/x11/budgie-desktop/files/patch-src_appindexer_Application.vala
blob: e5e1ceb6558b571c6048d36d3348c16ad9a71c0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- src/appindexer/Application.vala.orig	2025-09-07 12:35:19 UTC
+++ src/appindexer/Application.vala
@@ -42,8 +42,6 @@ namespace Budgie {
 		 */
 		public signal void launch_failed(string startup_notify_id);
 
-		private Switcheroo switcheroo;
-
 		/**
 		* Create a new application from a `DesktopAppInfo`.
 		*/
@@ -73,7 +71,6 @@ namespace Budgie {
 		}
 
 		construct {
-			this.switcheroo = new Switcheroo();
 		}
 
 		/**
@@ -127,9 +124,6 @@ namespace Budgie {
 					context.launch_failed.connect((startup_id) => {
 						this.launch_failed(startup_id);
 					});
-
-					// Try to apply a GPU profile if necessary for multiple GPU setups
-					switcheroo.apply_gpu_profile(context, this.prefers_default_gpu);
 
 					// Launch the application
 					new DesktopAppInfo(this.desktop_id).launch(null, context);