summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-04-05 19:15:44 +0200
committerDanny Baumann <dannybaumann@web.de>2007-04-05 19:15:44 +0200
commit9582a7b1bdf911f5c804eed6de06b1d1f8fc6089 (patch)
tree67161bce81bafde6639d102237ca0ee321d05f6c
parent660c682e421176240b789f3cfa6a6a9aac37b993 (diff)
downloadberyl-premerge-9582a7b1bdf911f5c804eed6de06b1d1f8fc6089.tar.gz
beryl-premerge-9582a7b1bdf911f5c804eed6de06b1d1f8fc6089.tar.bz2
crashhandler: BCOP generated functions are named crashhandler*, not crash*
-rw-r--r--src/crashhandler.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/crashhandler.c b/src/crashhandler.c
index 8eb76ed..cd3eb31 100644
--- a/src/crashhandler.c
+++ b/src/crashhandler.c
@@ -49,14 +49,14 @@ crash_handler (int sig)
programName, getpid (), getpid (), getpid ());
system (cmd);
- if (crashGetStartWm (cDisplay))
+ if (crashhandlerGetStartWm (cDisplay))
{
if (fork () == 0)
{
setsid ();
putenv (cDisplay->displayString);
execl ("/bin/sh", "/bin/sh", "-c",
- crashGetWmCmd (cDisplay), NULL);
+ crashhandlerGetWmCmd (cDisplay), NULL);
exit (0);
}
}
@@ -67,12 +67,12 @@ crash_handler (int sig)
static void
crashhandlerDisplayOptionChanged (CompDisplay * d, CompOption * opt,
- CrashDisplayOptions num)
+ CrashhandlerDisplayOptions num)
{
switch (num)
{
- case CrashDisplayOptionEnabled:
- if (crashGetEnabled (d))
+ case CrashhandlerDisplayOptionEnabled:
+ if (crashhandlerGetEnabled (d))
{
// enable crash handler
signal (SIGSEGV, crash_handler);
@@ -99,7 +99,7 @@ crashhandlerInitDisplay (CompPlugin * p, CompDisplay * d)
{
cDisplay = d;
- if (crashGetEnabled (d))
+ if (crashhandlerGetEnabled (d))
{
// segmentation fault
signal (SIGSEGV, crash_handler);
@@ -111,7 +111,7 @@ crashhandlerInitDisplay (CompPlugin * p, CompDisplay * d)
signal (SIGABRT, crash_handler);
}
- crashSetEnabledNotify (d, crashhandlerDisplayOptionChanged);
+ crashhandlerSetEnabledNotify (d, crashhandlerDisplayOptionChanged);
return TRUE;
}