Drop dependency on kde_file.h in kwin/main.cpp
This commit is contained in:
parent
0dd7adf5f5
commit
1f302b0c4a
1 changed files with 6 additions and 7 deletions
13
main.cpp
13
main.cpp
|
@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include <ksmserver_interface.h>
|
#include <ksmserver_interface.h>
|
||||||
|
|
||||||
// KDE
|
// KDE
|
||||||
#include <kde_file.h>
|
|
||||||
#include <kdeversion.h>
|
#include <kdeversion.h>
|
||||||
#include <KDE/KAboutData>
|
#include <KDE/KAboutData>
|
||||||
#include <KDE/KConfigGroup>
|
#include <KDE/KConfigGroup>
|
||||||
|
@ -433,12 +432,12 @@ KDE_EXPORT int kdemain(int argc, char * argv[])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (KDE_signal(SIGTERM, KWin::sighandler) == SIG_IGN)
|
if (signal(SIGTERM, KWin::sighandler) == SIG_IGN)
|
||||||
KDE_signal(SIGTERM, SIG_IGN);
|
signal(SIGTERM, SIG_IGN);
|
||||||
if (KDE_signal(SIGINT, KWin::sighandler) == SIG_IGN)
|
if (signal(SIGINT, KWin::sighandler) == SIG_IGN)
|
||||||
KDE_signal(SIGINT, SIG_IGN);
|
signal(SIGINT, SIG_IGN);
|
||||||
if (KDE_signal(SIGHUP, KWin::sighandler) == SIG_IGN)
|
if (signal(SIGHUP, KWin::sighandler) == SIG_IGN)
|
||||||
KDE_signal(SIGHUP, SIG_IGN);
|
signal(SIGHUP, SIG_IGN);
|
||||||
|
|
||||||
// Disable the glib event loop integration, since it seems to be responsible
|
// Disable the glib event loop integration, since it seems to be responsible
|
||||||
// for several bug reports about high CPU usage (bug #239963)
|
// for several bug reports about high CPU usage (bug #239963)
|
||||||
|
|
Loading…
Reference in a new issue