From: Christophe CURIS <[email protected]>

Hello,

This should be the last Big serie of patches for const correctness
in the windowmaker sourcecode, which does not mean that everything
is correct now, but close!

 - 1 to 5, 8: special cases functions, that needed more than just
a change in the prototype, separated from the rest for easier review;

 - 6, 7, 9: plenty fixes which impact only prototypes of functions,
again split for convenience

 - 10: attributes for variables

Best regards,
Christophe.


Christophe CURIS (10):
  wmaker: Added 'const' attribute to function 'ShrinkString'
  wmaker: Added 'const' attribute to local function 'getMaxStringWidth'
  wmaker: Added 'const' attribute to local function 'drawMultiLineString'
  wmaker: Added 'const' attribute to function 'GetShortcutString'
  wmaker: Added 'const' attribute to function 'wDefaultsInitDomain'
  wmaker: Added 'const' attribute to most local functions
  wmaker: Added 'const' attribute to most global functions
  wmaker: Added 'const' attribute to function 'wWindowUpdateName'
  wmaker: Added 'const' attribute to remaining functions
  wmaker: Added 'const' attribute to local variables

 src/WindowMaker.h |    4 ++--
 src/appicon.c     |    8 ++++----
 src/appicon.h     |    8 ++++----
 src/balloon.c     |   16 ++++++++--------
 src/defaults.c    |   32 ++++++++++++++++----------------
 src/defaults.h    |   22 +++++++++++-----------
 src/dialog.c      |   16 ++++++++--------
 src/dialog.h      |   14 +++++++-------
 src/dock.c        |   14 +++++++-------
 src/dock.h        |    2 +-
 src/framewin.c    |    6 +++---
 src/framewin.h    |    2 +-
 src/icon.c        |    8 ++++----
 src/icon.h        |    8 ++++----
 src/main.c        |    2 +-
 src/main.h        |    2 +-
 src/menu.c        |   10 +++++-----
 src/menu.h        |    8 ++++----
 src/misc.c        |   32 ++++++++++++++++----------------
 src/misc.h        |   16 ++++++++--------
 src/resources.c   |    4 ++--
 src/resources.h   |    4 ++--
 src/rootmenu.c    |   24 ++++++++++++------------
 src/switchpanel.c |    2 +-
 src/texture.c     |   16 ++++++++--------
 src/texture.h     |    8 ++++----
 src/usermenu.c    |    2 +-
 src/wdefaults.c   |   20 ++++++++++----------
 src/window.c      |    9 +++++----
 src/window.h      |    6 +++---
 src/winspector.c  |    2 +-
 src/workspace.c   |    4 ++--
 src/workspace.h   |    4 ++--
 src/xmodifier.c   |    2 +-
 src/xmodifier.h   |    2 +-
 35 files changed, 170 insertions(+), 169 deletions(-)

-- 
1.7.10.4


-- 
To unsubscribe, send mail to [email protected].

Reply via email to