[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/ksmserver
From: Luboš Luňák <l.lunak () kde ! org>
Date: 2010-08-19 11:58:50
Message-ID: 20100819120115.966CEAC855 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1165446 by lunakl:
warning: passing NULL to non-pointer argument
M +1 -1 shutdown.cpp
M +1 -1 shutdowndlg.cpp
--- trunk/KDE/kdebase/workspace/ksmserver/shutdown.cpp #1165445:1165446
@@ -572,7 +572,7 @@
class_hint.res_name = appName.data(); // application name
class_hint.res_class = const_cast<char *>(QX11Info::appClass()); // application class
XSetWMProperties( QX11Info::display(), logoutEffectWidget->winId(),
- NULL, NULL, NULL, NULL, NULL, NULL, &class_hint );
+ NULL, NULL, NULL, 0, NULL, NULL, &class_hint );
XChangeProperty( QX11Info::display(), logoutEffectWidget->winId(),
XInternAtom( QX11Info::display(), "WM_WINDOW_ROLE", False ), XA_STRING, 8, PropModeReplace,
(unsigned char *)"logouteffect", strlen( "logouteffect" ));
--- trunk/KDE/kdebase/workspace/ksmserver/shutdowndlg.cpp #1165445:1165446
@@ -374,7 +374,7 @@
XClassHint class_hint;
class_hint.res_name = appName.data(); // application name
class_hint.res_class = const_cast<char *>(QX11Info::appClass()); // application class
- XSetWMProperties( QX11Info::display(), winId(), NULL, NULL, NULL, NULL, NULL, NULL, &class_hint );
+ XSetWMProperties( QX11Info::display(), winId(), NULL, NULL, NULL, 0, NULL, NULL, &class_hint );
XChangeProperty( QX11Info::display(), winId(),
XInternAtom( QX11Info::display(), "WM_WINDOW_ROLE", False ), XA_STRING, 8, PropModeReplace,
(unsigned char *)"logoutdialog", strlen( "logoutdialog" ));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic