Build a kwiniface + fixed compiler warning
svn path=/trunk/kdebase/kwin/; revision=40507
This commit is contained in:
parent
6482ac8053
commit
87a7b9b775
1 changed files with 4 additions and 4 deletions
4
main.cpp
4
main.cpp
|
@ -107,7 +107,7 @@ void kwiniface::logout()
|
|||
exit (0);
|
||||
}
|
||||
|
||||
bool kwiniface::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
|
||||
bool kwiniface::process(const QCString &fun, const QByteArray &, QCString& replyType, QByteArray &)
|
||||
{
|
||||
fprintf(stderr,"Logout Call Recieved\n");
|
||||
if ( fun == "logout()" )
|
||||
|
@ -118,7 +118,6 @@ bool kwiniface::process(const QCString &fun, const QByteArray &data, QCString& r
|
|||
}
|
||||
else
|
||||
{
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
@ -179,6 +178,7 @@ int main( int argc, char * argv[] )
|
|||
client->attach();
|
||||
client->registerAs("kwin");
|
||||
|
||||
kwiniface iface;
|
||||
|
||||
return a.exec();
|
||||
|
||||
|
|
Loading…
Reference in a new issue