Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-kinit
0012-Use-predefined-constants-for-klauncher-exe...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0012-Use-predefined-constants-for-klauncher-executable-si.patch of Package mingw64-kinit
From ad7a13ef65245a950773c8b0edca9fb70fbddb47 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Thu, 22 Jul 2021 17:57:34 +0200 Subject: [PATCH 12/18] Use predefined constants for klauncher executable similar to kded --- src/kdeinit/kinit_win.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/kdeinit/kinit_win.cpp b/src/kdeinit/kinit_win.cpp index 70f1d7b..c2a5b90 100644 --- a/src/kdeinit/kinit_win.cpp +++ b/src/kdeinit/kinit_win.cpp @@ -47,6 +47,7 @@ typedef unsigned int pid_t; //#define ENABLE_EXIT #define KDED_EXENAME "kded5" +#define KLAUNCHER_EXENAME "klauncher5" // print verbose messages int verbose = 0; @@ -643,9 +644,9 @@ int main(int argc, char **argv, char **envp) } } - if (launch_klauncher && !processList.find("klauncher5")) { - pid = launch("klauncher5"); - if (!pid || !checkIfRegisteredInDBus("org.kde.klauncher5", 10)) { + if (launch_klauncher && !processList.find(KLAUNCHER_EXENAME)) { + pid = launch(KLAUNCHER_EXENAME); + if (!pid || !checkIfRegisteredInDBus("org.kde." KLAUNCHER_EXENAME, 10)) { exit(1); } } -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor