dbus-ify++

svn path=/trunk/KDE/kdebase/workspace/; revision=557447
This commit is contained in:
Dirk Mueller 2006-07-03 10:03:52 +00:00
parent ecd63e0d90
commit 425a19b111
2 changed files with 2 additions and 1 deletions

View file

@ -280,7 +280,7 @@ KDE_EXPORT int kdemain( int argc, char * argv[] )
else
appname.sprintf("kwin-screen-%d", KWinInternal::screen_number);
QDBus::sessionBus().busService()->requestName( appname, QDBusBusService::DoNotQueueName );
QDBus::sessionBus().interface()->registerService( appname, QDBusConnectionInterface::DontQueueService );
return a.exec();
}

View file

@ -24,6 +24,7 @@ License. See the file "COPYING" for the exact licensing terms.
#include <kxerrorhandler.h>
#include <assert.h>
#include <kdebug.h>
#include <kshortcut.h>
#include <X11/Xlib.h>
#include <X11/extensions/shape.h>